GME
13
|
#include <MgaParser.h>
Definition at line 31 of file MgaParser.h.
Definition at line 125 of file MgaParser.h.
typedef id_lookup_type::iterator CMgaParser::id_lookup_iterator |
Definition at line 172 of file MgaParser.h.
typedef stdext::hash_map<std::tstring, CComBstrObj> CMgaParser::id_lookup_type |
Definition at line 171 of file MgaParser.h.
typedef struct CMgaParser::librecord CMgaParser::librecord |
typedef std::vector<librecord> CMgaParser::librecords |
Definition at line 113 of file MgaParser.h.
typedef std::list< bool > CMgaParser::readonly_stack_type |
Definition at line 176 of file MgaParser.h.
typedef void(CMgaParser::* CMgaParser::ResolverFuncType)(const attributes_type &, deriv_type &) |
Definition at line 189 of file MgaParser.h.
Definition at line 127 of file MgaParser.h.
CMgaParser::CMgaParser | ( | ) | [inline] |
Definition at line 40 of file MgaParser.h.
void CMgaParser::assignrelid | ( | IMgaObject * | obj | ) |
Definition at line 1046 of file MgaParser.cpp.
void CMgaParser::clear_GME | ( | CComPtr< IGMEOLEApp > & | p_GME | ) | [static, protected] |
Definition at line 559 of file MgaParserClosureHelper.cpp.
void CMgaParser::CloseAll | ( | ) |
Definition at line 446 of file MgaParser.cpp.
void CMgaParser::EndAuthor | ( | ) |
Definition at line 911 of file MgaParser.cpp.
void CMgaParser::EndComment | ( | ) |
Definition at line 901 of file MgaParser.cpp.
void CMgaParser::EndConstraint | ( | ) |
Definition at line 1539 of file MgaParser.cpp.
void CMgaParser::endElement | ( | const XMLCh *const | name | ) | [virtual] |
Reimplemented from CGenParser.
Definition at line 541 of file MgaParser.cpp.
void CMgaParser::EndName | ( | ) |
Definition at line 883 of file MgaParser.cpp.
void CMgaParser::EndNameInfo | ( | ) |
Definition at line 1823 of file MgaParser.cpp.
void CMgaParser::EndObject | ( | ) |
Definition at line 1944 of file MgaParser.cpp.
void CMgaParser::EndSCConnection | ( | ) |
Definition at line 669 of file MgaParserSC.cpp.
void CMgaParser::EndSCConstraint | ( | ) |
Definition at line 1736 of file MgaParserSC.cpp.
void CMgaParser::EndSCName | ( | ) |
Definition at line 1621 of file MgaParserSC.cpp.
void CMgaParser::EndSCRegNode | ( | ) |
Definition at line 1534 of file MgaParserSC.cpp.
void CMgaParser::EndSCValue | ( | ) |
Definition at line 1643 of file MgaParserSC.cpp.
void CMgaParser::EndValue | ( | ) |
Definition at line 921 of file MgaParser.cpp.
bool CMgaParser::findConnectionEnd | ( | CComObjPtr< IMgaObject > | prev, |
const std::tstring & | isbound, | ||
const std::tstring & | role, | ||
const std::tstring & | targetGUID, | ||
const std::tstring & | target, | ||
const std::tstring & | refchainGUID, | ||
const std::tstring & | refchain, | ||
CComObjPtr< IMgaFCO > & | pFoundObj, | ||
CComObjPtr< IMgaFCOs > & | pFoundRefChain | ||
) |
Definition at line 432 of file MgaParserSC.cpp.
void CMgaParser::findFCOWithGUID | ( | CComObjPtr< IMgaObject > | prev, |
const std::tstring & | guid, | ||
CComObjPtr< IMgaFCO > & | pFoundFCO | ||
) |
Definition at line 73 of file MgaParserClosureHelper.cpp.
void CMgaParser::findFCOWithGUIDInTree | ( | CComObjPtr< IMgaObject > | pParent, |
const std::tstring & | guid, | ||
CComObjPtr< IMgaFCO > & | pFoundFCO | ||
) |
Definition at line 104 of file MgaParserClosureHelper.cpp.
void CMgaParser::findFCOWithRelPathAndGUID | ( | CComObjPtr< IMgaObject > | obj_rel_to, |
const std::tstring & | relpath, | ||
const std::tstring & | guid, | ||
CComObjPtr< IMgaFCO > & | pFoundFco | ||
) |
Definition at line 63 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findFolderIn | ( | const CComObjPtr< IMgaFolder > & | prev, |
const attributes_type & | attributes, | ||
CComObjPtr< IMgaFolder > & | fol | ||
) |
Definition at line 317 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findObject | ( | const CComObjPtr< IMgaModel > & | prev, |
const attributes_type & | attributes, | ||
CComObjPtr< IMgaFCO > & | obj, | ||
const char | type | ||
) |
Definition at line 294 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findObject | ( | const CComObjPtr< IMgaFolder > & | prev, |
const attributes_type & | attributes, | ||
CComObjPtr< IMgaFCO > & | obj, | ||
const char | type | ||
) |
Definition at line 305 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findObjectIn | ( | const CComObjPtr< IMgaObject > & | parent, |
const CComObjPtrVector< IMgaFCO > & | vec, | ||
const attributes_type & | attributes, | ||
CComObjPtr< IMgaFCO > & | obj, | ||
const char | type | ||
) |
Definition at line 197 of file MgaParserClosureHelper.cpp.
void CMgaParser::findObjOnAbsPath | ( | CComObjPtr< IMgaProject > | project, |
const std::tstring & | abspath, | ||
CComObjPtr< IMgaObject > & | obj, | ||
const std::tstring & | text | ||
) |
Definition at line 364 of file MgaParserClosureHelper.cpp.
void CMgaParser::findObjOnRelPath | ( | CComObjPtr< IMgaObject > | obj_rel_to, |
const std::tstring & | relpath, | ||
CComObjPtr< IMgaObject > & | obj, | ||
const std::tstring & | text | ||
) |
Definition at line 395 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findPlaceForElem | ( | const attributes_type & | attributes, |
deriv_type & | deriv, | ||
CComObjPtr< IMgaObject > & | place | ||
) |
Definition at line 475 of file MgaParserClosureHelper.cpp.
bool CMgaParser::findPlaceForElem | ( | const attributes_type & | attributes, |
deriv_type & | deriv, | ||
CComObjPtr< IMgaFolder > & | place_fld, | ||
CComObjPtr< IMgaModel > & | place_mdl | ||
) |
Definition at line 503 of file MgaParserClosureHelper.cpp.
void CMgaParser::fireEndFunction | ( | const std::tstring & | name | ) | [virtual] |
Implements CGenParser.
Definition at line 738 of file MgaParser.cpp.
void CMgaParser::fireStartFunction | ( | const std::tstring & | name, |
const attributes_type & | attributes | ||
) | [virtual] |
Implements CGenParser.
Definition at line 718 of file MgaParser.cpp.
CComPtr< IGMEOLEApp > CMgaParser::get_GME | ( | CComObjPtr< IMgaProject > | project | ) | [static, protected] |
Definition at line 538 of file MgaParserClosureHelper.cpp.
STDMETHOD() CMgaParser::get_Resolver | ( | IMgaResolver ** | MgaResolver | ) | [inline] |
Definition at line 278 of file MgaParser.h.
STDMETHODIMP CMgaParser::GetClipXMLInfo | ( | BSTR | filename, |
IMgaObject * | target, | ||
VARIANT_BOOL * | isacceptable, | ||
BSTR * | p_acckind, | ||
BSTR * | p_version | ||
) |
Definition at line 1868 of file MgaParser.cpp.
bool CMgaParser::GetIntendedReadOnlyFlag | ( | bool * | p_isReadOnly | ) |
Definition at line 1932 of file MgaParser.cpp.
STDMETHODIMP CMgaParser::GetXMLInfo | ( | BSTR | filename, |
BSTR * | paradigm, | ||
BSTR * | parversion, | ||
VARIANT * | parguid, | ||
BSTR * | basename, | ||
BSTR * | version | ||
) |
Definition at line 367 of file MgaParser.cpp.
STDMETHODIMP CMgaParser::GetXMLParadigm | ( | BSTR | filename, |
BSTR * | paradigm | ||
) |
Definition at line 362 of file MgaParser.cpp.
bool CMgaParser::isEmptySet | ( | CComObjPtr< IMgaFCO > & | set | ) | [static] |
Definition at line 674 of file MgaParserClosureHelper.cpp.
bool CMgaParser::isNeedFor2ndStep | ( | ) |
Definition at line 565 of file MgaParserClosureHelper.cpp.
bool CMgaParser::isNullRef | ( | CComObjPtr< IMgaFCO > & | ref | ) | [static] |
Definition at line 691 of file MgaParserClosureHelper.cpp.
void CMgaParser::LookupByID | ( | const std::tstring & | id, |
CComObjPtr< IMgaObject > & | object | ||
) |
Definition at line 593 of file MgaParser.cpp.
void CMgaParser::LookupByID | ( | const std::tstring & | id, |
CComObjPtr< IMgaFCO > & | fco | ||
) |
Definition at line 609 of file MgaParser.cpp.
void CMgaParser::msgSC | ( | CComBSTR & | msg, |
msgtype_enum | type | ||
) |
Definition at line 709 of file MgaParserClosureHelper.cpp.
STDMETHODIMP CMgaParser::ParseClos1 | ( | IMgaObject * | p, |
BSTR | filename | ||
) |
Definition at line 15 of file MgaParserBC.cpp.
STDMETHODIMP CMgaParser::ParseClos4 | ( | IMgaObject * | p, |
BSTR | filename, | ||
int | options | ||
) |
Definition at line 17 of file MgaParserSC.cpp.
bool CMgaParser::parseConnection | ( | CComObjPtr< IMgaObject > | prev, |
const attributes_type & | attributes, | ||
CComObjPtr< IMgaFCO > & | pFoundSrcObj, | ||
CComObjPtr< IMgaFCO > & | pFoundDstObj, | ||
CComObjPtr< IMgaFCOs > & | pFoundSrcRefChain, | ||
CComObjPtr< IMgaFCOs > & | pFoundDstRefChain | ||
) |
Definition at line 628 of file MgaParserSC.cpp.
STDMETHODIMP CMgaParser::ParseFCOs | ( | IMgaObject * | p, |
BSTR | filename | ||
) |
Definition at line 17 of file MgaParser.cpp.
STDMETHODIMP CMgaParser::ParseFCOs2 | ( | IMgaObject * | p, |
BSTR | filename, | ||
ULONGLONG | hwndParent | ||
) |
Definition at line 22 of file MgaParser.cpp.
STDMETHODIMP CMgaParser::ParseProject | ( | IMgaProject * | p, |
BSTR | filename | ||
) |
Definition at line 183 of file MgaParser.cpp.
STDMETHODIMP CMgaParser::ParseProject2 | ( | IMgaProject * | p, |
BSTR | filename, | ||
ULONGLONG | hwndParent | ||
) |
Definition at line 188 of file MgaParser.cpp.
void CMgaParser::preparerelid | ( | const attributes_type & | attributes | ) |
Definition at line 1025 of file MgaParser.cpp.
STDMETHOD() CMgaParser::put_Resolver | ( | IMgaResolver * | MgaResolver | ) | [inline] |
Definition at line 286 of file MgaParser.h.
bool CMgaParser::RegisterLookup | ( | const std::tstring & | id, |
IMgaObject * | object | ||
) |
Definition at line 625 of file MgaParser.cpp.
void CMgaParser::RegisterLookup | ( | const attributes_type & | attributes, |
IMgaObject * | object | ||
) |
Definition at line 640 of file MgaParser.cpp.
void CMgaParser::ResolveClosure1Derivation | ( | const attributes_type & | attributes, |
deriv_type & | deriv | ||
) |
Definition at line 250 of file MgaParserBC.cpp.
void CMgaParser::ResolveClosure4Derivation | ( | const attributes_type & | attributes, |
deriv_type & | deriv | ||
) |
Definition at line 186 of file MgaParserSC.cpp.
void CMgaParser::ResolveDerivation | ( | const attributes_type & | attributes, |
deriv_type & | deriv | ||
) |
Definition at line 1126 of file MgaParser.cpp.
void CMgaParser::StartAtom | ( | const attributes_type & | attributes | ) |
Definition at line 1230 of file MgaParser.cpp.
void CMgaParser::StartAttribute | ( | const attributes_type & | attributes | ) |
Definition at line 1348 of file MgaParser.cpp.
void CMgaParser::StartBCClipboard | ( | const attributes_type & | attributes | ) |
Definition at line 184 of file MgaParserBC.cpp.
void CMgaParser::StartBCConnPoint | ( | const attributes_type & | attributes | ) |
Definition at line 311 of file MgaParserBC.cpp.
void CMgaParser::StartBCReference | ( | const attributes_type & | attributes | ) |
Definition at line 396 of file MgaParserBC.cpp.
void CMgaParser::StartBCSet | ( | const attributes_type & | attributes | ) |
Definition at line 518 of file MgaParserBC.cpp.
void CMgaParser::StartClipboard | ( | const attributes_type & | attributes | ) |
Definition at line 837 of file MgaParser.cpp.
void CMgaParser::StartClipboardInfo | ( | const attributes_type & | attributes | ) |
Definition at line 1839 of file MgaParser.cpp.
void CMgaParser::StartConnection | ( | const attributes_type & | attributes | ) |
Definition at line 1384 of file MgaParser.cpp.
void CMgaParser::StartConnPoint | ( | const attributes_type & | attributes | ) |
Definition at line 1456 of file MgaParser.cpp.
void CMgaParser::startElement | ( | const XMLCh *const | name, |
AttributeList & | attributes | ||
) | [virtual] |
Reimplemented from CGenParser.
Definition at line 488 of file MgaParser.cpp.
void CMgaParser::StartFolder | ( | const attributes_type & | attributes | ) |
Definition at line 1054 of file MgaParser.cpp.
void CMgaParser::StartModel | ( | const attributes_type & | attributes | ) |
Definition at line 1153 of file MgaParser.cpp.
void CMgaParser::StartProject | ( | const attributes_type & | attributes | ) |
Definition at line 781 of file MgaParser.cpp.
void CMgaParser::StartProjectInfo | ( | const attributes_type & | attributes | ) |
Definition at line 1782 of file MgaParser.cpp.
void CMgaParser::StartReference | ( | const attributes_type & | attributes | ) |
Definition at line 1561 of file MgaParser.cpp.
void CMgaParser::StartRegNode | ( | const attributes_type & | attributes | ) |
Definition at line 1303 of file MgaParser.cpp.
void CMgaParser::StartSCAtom | ( | const attributes_type & | attributes | ) |
Definition at line 1282 of file MgaParserSC.cpp.
void CMgaParser::StartSCAttribute | ( | const attributes_type & | attributes | ) |
Definition at line 1580 of file MgaParserSC.cpp.
void CMgaParser::StartSCConnection | ( | const attributes_type & | attributes | ) |
Definition at line 280 of file MgaParserSC.cpp.
void CMgaParser::StartSCConnPoint | ( | const attributes_type & | attributes | ) |
Definition at line 690 of file MgaParserSC.cpp.
void CMgaParser::StartSCFolder | ( | const attributes_type & | attributes | ) |
Definition at line 1413 of file MgaParserSC.cpp.
void CMgaParser::StartSCModel | ( | const attributes_type & | attributes | ) |
Definition at line 1145 of file MgaParserSC.cpp.
void CMgaParser::StartSCReference | ( | const attributes_type & | attributes | ) |
Definition at line 694 of file MgaParserSC.cpp.
void CMgaParser::StartSCRegNode | ( | const attributes_type & | attributes | ) |
Definition at line 1476 of file MgaParserSC.cpp.
void CMgaParser::StartSCSet | ( | const attributes_type & | attributes | ) |
Definition at line 922 of file MgaParserSC.cpp.
void CMgaParser::StartSet | ( | const attributes_type & | attributes | ) |
Definition at line 1661 of file MgaParser.cpp.
void CMgaParser::stepUpInHierarchy | ( | CComObjPtr< IMgaObject > & | pCurrentObj, |
const std::tstring & | originalPath, | ||
CComObjPtr< IMgaObject > & | pNewParent, | ||
std::tstring & | remainingPath | ||
) |
Definition at line 14 of file MgaParserClosureHelper.cpp.
void CMgaParser::tryToFindMissedReferreds | ( | ) |
Definition at line 570 of file MgaParserClosureHelper.cpp.
Definition at line 617 of file MgaParserClosureHelper.cpp.
BSTR* CMgaParser::closacckind |
Definition at line 144 of file MgaParser.h.
BSTR* CMgaParser::closversion |
Definition at line 143 of file MgaParser.h.
Definition at line 153 of file MgaParser.h.
Definition at line 154 of file MgaParser.h.
{ elementfunc(_T("name"), StartNone, EndName), elementfunc(_T("comment"), StartNone, EndComment), elementfunc(_T("author"), StartNone, EndAuthor), elementfunc(_T("value"), StartNone, EndValue), elementfunc(_T("regnode"), StartRegNode, EndNone), elementfunc(_T("attribute"), StartAttribute, EndNone), elementfunc(_T("constraint"), StartNone, EndConstraint), elementfunc(_T("folder"), StartFolder, EndNone), elementfunc(_T("model"), StartModel, EndNone), elementfunc(_T("atom"), StartAtom, EndNone), elementfunc(_T("connection"), StartConnection, EndNone), elementfunc(_T("connpoint"), StartBCConnPoint, EndNone), elementfunc(_T("reference"), StartBCReference, EndNone), elementfunc(_T("set"), StartBCSet, EndNone), elementfunc(_T("clipboard"), StartBCClipboard, EndNone), elementfunc(_T(""), NULL, NULL) }
Definition at line 132 of file MgaParser.h.
{ elementfunc(_T("clipboard"), StartClipboardInfo, EndNone), elementfunc(_T(""), NULL, NULL) }
Definition at line 134 of file MgaParser.h.
{ elementfunc(_T("project"), StartProject, EndNone), elementfunc(_T("name"), StartNone, EndName), elementfunc(_T("comment"), StartNone, EndComment), elementfunc(_T("author"), StartNone, EndAuthor), elementfunc(_T("value"), StartNone, EndValue), elementfunc(_T("folder"), StartFolder, EndObject), elementfunc(_T("model"), StartModel, EndObject), elementfunc(_T("atom"), StartAtom, EndObject), elementfunc(_T("regnode"), StartRegNode, EndNone), elementfunc(_T("attribute"), StartAttribute, EndNone), elementfunc(_T("connection"), StartConnection, EndObject), elementfunc(_T("connpoint"), StartConnPoint, EndNone), elementfunc(_T("constraint"), StartNone, EndConstraint), elementfunc(_T("reference"), StartReference, EndObject), elementfunc(_T("set"), StartSet, EndObject), elementfunc(_T("clipboard"), StartClipboard, EndNone), elementfunc(_T(""), NULL, NULL) }
Definition at line 130 of file MgaParser.h.
{ elementfunc(_T("project"), StartProjectInfo, EndNone), elementfunc(_T("name"), StartNone, EndNameInfo), elementfunc(_T(""), NULL, NULL) }
Definition at line 131 of file MgaParser.h.
{ elementfunc(_T("name"), StartNone, EndSCName), elementfunc(_T("value"), StartNone, EndSCValue), elementfunc(_T("regnode"), StartSCRegNode, EndSCRegNode), elementfunc(_T("attribute"), StartSCAttribute, EndNone), elementfunc(_T("constraint"), StartNone, EndSCConstraint), elementfunc(_T("folder"), StartSCFolder, EndNone), elementfunc(_T("model"), StartSCModel, EndNone), elementfunc(_T("atom"), StartSCAtom, EndNone), elementfunc(_T("connection"), StartSCConnection, EndSCConnection), elementfunc(_T("connpoint"), StartSCConnPoint, EndNone), elementfunc(_T("reference"), StartSCReference, EndNone), elementfunc(_T("set"), StartSCSet, EndNone), elementfunc(_T("clipboard"), StartBCClipboard, EndNone), elementfunc(_T(""), NULL, NULL) }
Definition at line 133 of file MgaParser.h.
Definition at line 128 of file MgaParser.h.
Definition at line 174 of file MgaParser.h.
VARIANT* CMgaParser::infoparguid |
Definition at line 147 of file MgaParser.h.
BSTR* CMgaParser::infoparname |
Definition at line 145 of file MgaParser.h.
Definition at line 146 of file MgaParser.h.
BSTR* CMgaParser::infoprojname |
Definition at line 148 of file MgaParser.h.
BSTR* CMgaParser::infoversion |
Definition at line 149 of file MgaParser.h.
Definition at line 114 of file MgaParser.h.
Definition at line 219 of file MgaParser.h.
CComPtr<IGMEOLEApp> CMgaParser::m_GME [protected] |
Definition at line 299 of file MgaParser.h.
Definition at line 227 of file MgaParser.h.
Definition at line 273 of file MgaParser.h.
Definition at line 217 of file MgaParser.h.
std::map< CComObjPtr<IMgaFCO>, std::vector< std::tstring >, CompareCComObj > CMgaParser::m_notFoundSetMembers |
Definition at line 218 of file MgaParser.h.
Definition at line 190 of file MgaParser.h.
Definition at line 141 of file MgaParser.h.
Definition at line 221 of file MgaParser.h.
Definition at line 156 of file MgaParser.h.
Definition at line 157 of file MgaParser.h.
Definition at line 139 of file MgaParser.h.
Definition at line 136 of file MgaParser.h.
Definition at line 151 of file MgaParser.h.
Definition at line 151 of file MgaParser.h.
CComVariant CMgaParser::projectguid |
Definition at line 115 of file MgaParser.h.
_bstr_t CMgaParser::projectversion |
Definition at line 116 of file MgaParser.h.
Definition at line 91 of file MgaParser.h.
Definition at line 177 of file MgaParser.h.
long CMgaParser::relid |
Definition at line 222 of file MgaParser.h.
Definition at line 138 of file MgaParser.h.
Definition at line 93 of file MgaParser.h.
Definition at line 137 of file MgaParser.h.