IDFstepper
IDF to STEP converter
Classes | Namespaces | Defines | Functions
inc/IdfGrammar.hpp File Reference
#include "IdfStructure.hpp"
#include <boost/optional.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_fusion.hpp>
#include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/spirit/include/phoenix_object.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <boost/foreach.hpp>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

struct  idf::BoardPanelGrammar< Iterator >
 This is the Qi grammar to parse IDF board or panels files into BoardPanelStruct objects. More...
struct  idf::LibraryGrammar< Iterator >
 This is the Qi grammar to parse IDF library files into LibraryStruct objects. More...

Namespaces

namespace  idf

Defines

#define FUSION_MAX_VECTOR_SIZE   20
 We need this because the topmost file structures contain a lot of elements.

Functions

BOOST_FUSION_ADAPT_STRUCT(idf::Loop,(int,
label)(double, x)(double, y)(double,
angle))
BOOST_FUSION_ADAPT_STRUCT(idf 
BOOST_FUSION_ADAPT_STRUCT (idf::LibraryStruct,(double, idfVersion)(std::string, sourceSysId)(std::string, date)(int, version)(std::vector< idf::Component >, components))

Detailed Description

Note:
DO NOT include this file from anywhere except from the parser as it uses the heavy-templated Boost::Spirit::Qi parser, which can cause huge compilation times!

Definition in file IdfGrammar.hpp.


Define Documentation

#define FUSION_MAX_VECTOR_SIZE   20

We need this because the topmost file structures contain a lot of elements.

Definition at line 6 of file IdfGrammar.hpp.


Function Documentation

BOOST_FUSION_ADAPT_STRUCT ( idf::Loop, (int, label) (double, x) (double, y) (double, angle) ) BOOST_FUSION_ADAPT_STRUCT( idf BOOST_FUSION_ADAPT_STRUCT ( idf::LibraryStruct  ,
(double, idfVersion)(std::string, sourceSysId)(std::string, date)(int, version)(std::vector< idf::Component >, components)   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines