GME  13
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
CMgaMetaParser Class Reference

#include <MetaParser.h>

Inheritance diagram for CMgaMetaParser:
Inheritance graph
[legend]
Collaboration diagram for CMgaMetaParser:
Collaboration graph
[legend]

List of all members.

Public Types

typedef CGenParserFunc
< CMgaMetaParser
elementfunc

Public Member Functions

 CMgaMetaParser ()
 ~CMgaMetaParser ()
STDMETHOD() Parse (BSTR filename, BSTR connection)
HRESULT CloseAll ()
void StartParadigm (const attributes_type &attributes)
void EndComment ()
void EndAuthor ()
void EndDispName ()
void StartFolder (const attributes_type &attributes)
void StartFolder2 (const attributes_type &attributes)
void StartAtom (const attributes_type &attributes)
void StartModel (const attributes_type &attributes)
void StartConnection (const attributes_type &attributes)
void StartReference (const attributes_type &attributes)
void StartSet (const attributes_type &attributes)
void StartAttrDef (const attributes_type &attributes)
void StartFCO2 (const attributes_type &attributes)
void StartRole2 (const attributes_type &attributes)
void StartAspect2 (const attributes_type &attributes)
void StartPart2 (const attributes_type &attributes)
void StartRegNode (const attributes_type &attributes)
void StartConnJoint (const attributes_type &attributes)
void StartPointerSpec (const attributes_type &attributes)
void StartPointerItem (const attributes_type &attributes)
void StartEnumItem (const attributes_type &attributes)
void StartConstraint (const attributes_type &attributes)
void EndConstraint ()
void fireStartFunction (const std::tstring &name, const attributes_type &attributes)
void fireEndFunction (const std::tstring &name)

Static Public Member Functions

static const std::tstring GetNextToken (std::tstring::const_iterator &i, std::tstring::const_iterator &e, std::tstring::const_iterator end)

Public Attributes

CComObjPtr< IMgaMetaProjectmetaproject

Static Public Attributes

static elementfunc elementfuncs_firstpass []
static elementfunc elementfuncs_secondpass []

Detailed Description

Definition at line 14 of file MetaParser.h.


Member Typedef Documentation

Definition at line 53 of file MetaParser.h.


Constructor & Destructor Documentation

Definition at line 12 of file MetaParser.cpp.

Definition at line 16 of file MetaParser.cpp.


Member Function Documentation

Definition at line 126 of file MetaParser.cpp.

Definition at line 299 of file MetaParser.cpp.

Definition at line 289 of file MetaParser.cpp.

Definition at line 1039 of file MetaParser.cpp.

Definition at line 309 of file MetaParser.cpp.

void CMgaMetaParser::fireEndFunction ( const std::tstring name) [virtual]

Implements CGenParser.

Definition at line 186 of file MetaParser.cpp.

void CMgaMetaParser::fireStartFunction ( const std::tstring name,
const attributes_type attributes 
) [virtual]

Implements CGenParser.

Definition at line 158 of file MetaParser.cpp.

const std::tstring CMgaMetaParser::GetNextToken ( std::tstring::const_iterator &  i,
std::tstring::const_iterator &  e,
std::tstring::const_iterator  end 
) [static]

Definition at line 143 of file MetaParser.cpp.

STDMETHODIMP CMgaMetaParser::Parse ( BSTR  filename,
BSTR  connection 
)

Definition at line 22 of file MetaParser.cpp.

void CMgaMetaParser::StartAspect2 ( const attributes_type attributes)

Definition at line 850 of file MetaParser.cpp.

void CMgaMetaParser::StartAtom ( const attributes_type attributes)

Definition at line 449 of file MetaParser.cpp.

void CMgaMetaParser::StartAttrDef ( const attributes_type attributes)

Definition at line 739 of file MetaParser.cpp.

void CMgaMetaParser::StartConnection ( const attributes_type attributes)

Definition at line 480 of file MetaParser.cpp.

void CMgaMetaParser::StartConnJoint ( const attributes_type attributes)

Definition at line 511 of file MetaParser.cpp.

void CMgaMetaParser::StartConstraint ( const attributes_type attributes)

Definition at line 989 of file MetaParser.cpp.

void CMgaMetaParser::StartEnumItem ( const attributes_type attributes)

Definition at line 798 of file MetaParser.cpp.

void CMgaMetaParser::StartFCO2 ( const attributes_type attributes)

Definition at line 675 of file MetaParser.cpp.

void CMgaMetaParser::StartFolder ( const attributes_type attributes)

Definition at line 332 of file MetaParser.cpp.

void CMgaMetaParser::StartFolder2 ( const attributes_type attributes)

Definition at line 361 of file MetaParser.cpp.

void CMgaMetaParser::StartModel ( const attributes_type attributes)

Definition at line 643 of file MetaParser.cpp.

void CMgaMetaParser::StartParadigm ( const attributes_type attributes)

Definition at line 256 of file MetaParser.cpp.

void CMgaMetaParser::StartPart2 ( const attributes_type attributes)

Definition at line 900 of file MetaParser.cpp.

void CMgaMetaParser::StartPointerItem ( const attributes_type attributes)

Definition at line 562 of file MetaParser.cpp.

void CMgaMetaParser::StartPointerSpec ( const attributes_type attributes)

Definition at line 523 of file MetaParser.cpp.

void CMgaMetaParser::StartReference ( const attributes_type attributes)

Definition at line 580 of file MetaParser.cpp.

void CMgaMetaParser::StartRegNode ( const attributes_type attributes)

Definition at line 948 of file MetaParser.cpp.

void CMgaMetaParser::StartRole2 ( const attributes_type attributes)

Definition at line 817 of file MetaParser.cpp.

void CMgaMetaParser::StartSet ( const attributes_type attributes)

Definition at line 611 of file MetaParser.cpp.


Member Data Documentation

Initial value:
 
{
        elementfunc(_T("paradigm"), StartParadigm, EndNone),
        elementfunc(_T("comment"), StartNone, EndComment),
        elementfunc(_T("author"), StartNone, EndAuthor),
        elementfunc(_T("dispname"), StartNone, EndDispName),
        elementfunc(_T("folder"), StartFolder, EndNone),
        elementfunc(_T("atom"), StartAtom, EndNone),
        elementfunc(_T("model"), StartModel, EndNone),
        elementfunc(_T("connection"), StartConnection, EndNone),
        elementfunc(_T("reference"), StartReference, EndNone),
        elementfunc(_T("set"), StartSet, EndNone),
        elementfunc(_T("attrdef"), StartAttrDef, EndNone),
        elementfunc(_T("regnode"), StartRegNode, EndNone),
        elementfunc(_T("connjoint"), StartConnJoint, EndNone),
        elementfunc(_T("pointerspec"), StartPointerSpec, EndNone),
        elementfunc(_T("pointeritem"), StartPointerItem, EndNone),
        elementfunc(_T("enumitem"), StartEnumItem, EndNone),
        elementfunc(_T("constraint"), StartConstraint, EndConstraint),
        elementfunc(_T(""), NULL, NULL)
}

Definition at line 55 of file MetaParser.h.

Initial value:
 
{
        elementfunc(_T("folder"), StartFolder2, EndNone),
        elementfunc(_T("model"), StartFCO2, EndNone),
        elementfunc(_T("atom"), StartFCO2, EndNone),
        elementfunc(_T("connection"), StartFCO2, EndNone),
        elementfunc(_T("reference"), StartFCO2, EndNone),
        elementfunc(_T("set"), StartFCO2, EndNone),
        elementfunc(_T("role"), StartRole2, EndNone),
        elementfunc(_T("aspect"), StartAspect2, EndNone),
        elementfunc(_T("part"), StartPart2, EndNone),
        elementfunc(_T("regnode"), StartRegNode, EndNone),
        elementfunc(_T("dispname"), StartNone, EndDispName),
        elementfunc(_T(""), NULL, NULL)
}

Definition at line 56 of file MetaParser.h.

Definition at line 58 of file MetaParser.h.


The documentation for this class was generated from the following files: