GME  13
Typedefs | Enumerations | Functions
OclCommonEx Namespace Reference

Typedefs

typedef CComObjPtr< IMgaObjectSPObject
typedef std::vector< SPObjectObjectVector
typedef CComObjPtr< IMgaFCOSPFCO
typedef std::vector< SPFCOFCOVector
typedef CComObjPtr< IMgaMetaBaseSPMeta
typedef std::vector< SPMetaMetaBaseVector
typedef CComObjPtr< IMgaConnPointSPCP
typedef std::vector< SPCPCPVector
typedef CComObjPtr
< IMgaMetaPointerSpec
SPPointer
typedef std::vector< SPPointerPointerVector
typedef CComObjPtr< IMgaMetaModelSPModel
typedef std::map< std::string,
SPModel
ModelMap

Enumerations

enum  ErrorImage { IMG_SYNTACTICAL_ERROR = 0, IMG_SEMANTICAL_ERROR = 1, IMG_VIOLATION_ERROR = 2, IMG_VIOLATION_WARNING = 3 }

Functions

std::string Convert (const CStringW &strIn)
CStringW Convert (const std::string &strIn)
bool ParseCardinality (const CString &strCardinalityIn)
std::string GetConnPointRole (CComPtr< IMgaConnPoint > spCP)
std::string GetObjectName (CComPtr< IMgaObject > spObject)
std::string GetObjectName (CComPtr< IMgaMetaBase > spObject)
std::string GetObjectKind (CComPtr< IMgaObject > spObject)
std::string GetObjectDisplayedName (CComPtr< IMgaObject > &spObject)
std::string GetFCORole (CComPtr< IMgaFCO > spFCO)
objtype_enum GetObjectType (CComPtr< IMgaObject > spObject)
objtype_enum GetObjectType (CComPtr< IMgaMetaBase > spObject)
bool IsInLibrary (CComPtr< IMgaObject > spObject)
std::string ParseLibraryName (const std::string &strFullName)
CComPtr< IMgaFolderGetFirstLibrary (CComPtr< IMgaObject > spObject)
StringVector GetLibraryPath (CComPtr< IMgaObject > spObject)
std::string ObjectTypeToString (objtype_enum eType)
objtype_enum StringToObjectType (const std::string &strType)
std::string CreateType (const std::string &strKind, objtype_enum eType)
bool ResolveType (const std::string &strFullName, std::string &strKind, objtype_enum &eType)
std::string LowerFirst (const std::string &strValue)
std::string UpperFirst (const std::string &strValue)
CString LowerFirst (const CString &strValue)
CString UpperFirst (const CString &strValue)
void AddAssociation (OclMeta::TypeManager *pManager, OclMeta::Association *pAssociation, OclMeta::AssociationVector &vecAssociations, bool bCantBeSet)
void AddAssociations (OclMeta::AssociationVector &vecAssociationsToAdd, OclMeta::AssociationVector &vecAssociations)
bool AddObject (CComPtr< IMgaFCO > spFCO, FCOVector &vecFCOs)
bool AddObject (CComPtr< IMgaObject > spObject, ObjectVector &vecObjects)
bool ContainsObject (CComPtr< IMgaFCO > spFCO, FCOVector &vecFCOs)
bool ContainsObject (CComPtr< IMgaObject > spObject, ObjectVector &vecObjects)
bool IsAbstract (CComPtr< IMgaFCO > spFCO)
bool GetAllObjects (CComPtr< IMgaFCO > &spFCO, CComPtr< IMgaFCOs > &spRefs)
void GetAssociationEnds (CComPtr< IMgaFCO > spFCO, const std::string &strRole, const std::string &strKind, FCOVector &vecFCOs)
void GetAssociationEnds (CComPtr< IMgaFCO > spFCO, const std::string &strRole, const std::string &strKind, FCOVector &vecFCOs, FCOVector &vecConnections)
void GetInheritances (CComPtr< IMgaFCO > spFCO, const std::string &strInheritanceType, bool bIsParent, FCOVector &vecFCOs)
void GetEquivalences (CComPtr< IMgaFCO > spFCO, const std::string &strEquivalencesType, bool bToLeft, FCOVector &vecFCOs)
void GetMetaObjectsR (CComPtr< IMgaMetaBase > spMeta, const std::string &strName, objtype_enum eType, MetaBaseVector &vecMetaBases)
void GetMetaObjects (CComPtr< IMgaMetaProject > spProject, const std::string &strName, objtype_enum eType, MetaBaseVector &vecMetaBases)
std::string GetPointerRole (CComPtr< IMgaMetaPointerSpec > spPointer)
ModelMap GetModels (CComPtr< IMgaMetaProject > spProject)
StringVector GetPointerDescriptions (CComPtr< IMgaMetaPointerSpec > spPointer)
StringVector TranslateDescriptionsToKinds (ModelMap &mapModels, const StringVector &vecDescriptions)
void GetDerivedObjectsR (CComPtr< IMgaFCO > spFCO, ObjectVector &vecObjects)
void GetDerivedObjects (CComPtr< IMgaProject > spProject, const std::string &strType, ObjectVector &vecObjects)
void GetKindFolders (CComPtr< IMgaFolder > spFolder, const std::string &strKind, bool bKind, ObjectVector &vecObjects)
void GetKindObjects (CComPtr< IMgaProject > spProject, const std::string &strKind, ObjectVector &vecObjects)
void GetObjectPathR (CComPtr< IMgaObject > spObject, std::string &strPath)
std::string GetObjectPath (CComPtr< IMgaObject > spObject)
std::string GetObjectDescription (CComPtr< IMgaObject > spObject)
std::string GetConnectionPointDescription (CComPtr< IMgaConnPoint > spCP)
std::string Convert (const CString &strIn)

Typedef Documentation

typedef std::vector<SPCP> OclCommonEx::CPVector

Definition at line 37 of file OCLCommonEx.h.

typedef std::vector<SPFCO> OclCommonEx::FCOVector

Definition at line 33 of file OCLCommonEx.h.

typedef std::vector<SPMeta> OclCommonEx::MetaBaseVector

Definition at line 35 of file OCLCommonEx.h.

Definition at line 41 of file OCLCommonEx.h.

typedef std::vector<SPObject> OclCommonEx::ObjectVector

Definition at line 31 of file OCLCommonEx.h.

typedef std::vector<SPPointer> OclCommonEx::PointerVector

Definition at line 39 of file OCLCommonEx.h.

Definition at line 36 of file OCLCommonEx.h.

Definition at line 32 of file OCLCommonEx.h.

Definition at line 34 of file OCLCommonEx.h.

Definition at line 40 of file OCLCommonEx.h.

Definition at line 30 of file OCLCommonEx.h.

Definition at line 38 of file OCLCommonEx.h.


Enumeration Type Documentation

Enumerator:
IMG_SYNTACTICAL_ERROR 
IMG_SEMANTICAL_ERROR 
IMG_VIOLATION_ERROR 
IMG_VIOLATION_WARNING 

Definition at line 22 of file OCLCommonEx.h.


Function Documentation

void OclCommonEx::AddAssociation ( OclMeta::TypeManager pManager,
OclMeta::Association pAssociation,
OclMeta::AssociationVector vecAssociations,
bool  bCantBeSet 
)

Definition at line 372 of file OCLCommonEx.cpp.

void OclCommonEx::AddAssociations ( OclMeta::AssociationVector vecAssociationsToAdd,
OclMeta::AssociationVector vecAssociations 
)

Definition at line 404 of file OCLCommonEx.cpp.

bool OclCommonEx::AddObject ( CComPtr< IMgaFCO spFCO,
FCOVector &  vecFCOs 
)

Definition at line 417 of file OCLCommonEx.cpp.

bool OclCommonEx::AddObject ( CComPtr< IMgaObject spObject,
ObjectVector &  vecObjects 
)

Definition at line 427 of file OCLCommonEx.cpp.

bool OclCommonEx::ContainsObject ( CComPtr< IMgaFCO spFCO,
FCOVector &  vecFCOs 
)

Definition at line 437 of file OCLCommonEx.cpp.

bool OclCommonEx::ContainsObject ( CComPtr< IMgaObject spObject,
ObjectVector &  vecObjects 
)

Definition at line 445 of file OCLCommonEx.cpp.

std::string OclCommonEx::Convert ( const CStringW &  strIn)

Definition at line 23 of file OCLCommonEx.cpp.

CString OclCommonEx::Convert ( const std::string strIn)

Definition at line 48 of file OCLCommonEx.cpp.

std::string OclCommonEx::Convert ( const CString &  strIn)
std::string OclCommonEx::CreateType ( const std::string strKind,
objtype_enum  eType 
)

Definition at line 303 of file OCLCommonEx.cpp.

bool OclCommonEx::GetAllObjects ( CComPtr< IMgaFCO > &  spFCO,
CComPtr< IMgaFCOs > &  spRefs 
)

Definition at line 466 of file OCLCommonEx.cpp.

void OclCommonEx::GetAssociationEnds ( CComPtr< IMgaFCO spFCO,
const std::string strRole,
const std::string strKind,
FCOVector &  vecFCOs 
)

Definition at line 480 of file OCLCommonEx.cpp.

void OclCommonEx::GetAssociationEnds ( CComPtr< IMgaFCO spFCO,
const std::string strRole,
const std::string strKind,
FCOVector &  vecFCOs,
FCOVector &  vecConnections 
)

Definition at line 508 of file OCLCommonEx.cpp.

Definition at line 842 of file OCLCommonEx.cpp.

Definition at line 139 of file OCLCommonEx.cpp.

void OclCommonEx::GetDerivedObjects ( CComPtr< IMgaProject spProject,
const std::string strType,
ObjectVector &  vecObjects 
)

Definition at line 689 of file OCLCommonEx.cpp.

void OclCommonEx::GetDerivedObjectsR ( CComPtr< IMgaFCO spFCO,
ObjectVector &  vecObjects 
)

Definition at line 677 of file OCLCommonEx.cpp.

void OclCommonEx::GetEquivalences ( CComPtr< IMgaFCO spFCO,
const std::string strEquivalencesType,
bool  bToLeft,
FCOVector &  vecFCOs 
)

Definition at line 559 of file OCLCommonEx.cpp.

Definition at line 183 of file OCLCommonEx.cpp.

CComPtr<IMgaFolder> OclCommonEx::GetFirstLibrary ( CComPtr< IMgaObject spObject)

Definition at line 224 of file OCLCommonEx.cpp.

void OclCommonEx::GetInheritances ( CComPtr< IMgaFCO spFCO,
const std::string strInheritanceType,
bool  bIsParent,
FCOVector &  vecFCOs 
)

Definition at line 534 of file OCLCommonEx.cpp.

void OclCommonEx::GetKindFolders ( CComPtr< IMgaFolder spFolder,
const std::string strKind,
bool  bKind,
ObjectVector &  vecObjects 
)

Definition at line 701 of file OCLCommonEx.cpp.

void OclCommonEx::GetKindObjects ( CComPtr< IMgaProject spProject,
const std::string strKind,
ObjectVector &  vecObjects 
)

Definition at line 712 of file OCLCommonEx.cpp.

Definition at line 256 of file OCLCommonEx.cpp.

void OclCommonEx::GetMetaObjects ( CComPtr< IMgaMetaProject spProject,
const std::string strName,
objtype_enum  eType,
MetaBaseVector &  vecMetaBases 
)

Definition at line 611 of file OCLCommonEx.cpp.

void OclCommonEx::GetMetaObjectsR ( CComPtr< IMgaMetaBase spMeta,
const std::string strName,
objtype_enum  eType,
MetaBaseVector &  vecMetaBases 
)

Definition at line 584 of file OCLCommonEx.cpp.

ModelMap OclCommonEx::GetModels ( CComPtr< IMgaMetaProject spProject)

Definition at line 625 of file OCLCommonEx.cpp.

Definition at line 774 of file OCLCommonEx.cpp.

Definition at line 174 of file OCLCommonEx.cpp.

Definition at line 160 of file OCLCommonEx.cpp.

Definition at line 146 of file OCLCommonEx.cpp.

Definition at line 153 of file OCLCommonEx.cpp.

Definition at line 767 of file OCLCommonEx.cpp.

void OclCommonEx::GetObjectPathR ( CComPtr< IMgaObject spObject,
std::string strPath 
)

Definition at line 757 of file OCLCommonEx.cpp.

Definition at line 190 of file OCLCommonEx.cpp.

Definition at line 197 of file OCLCommonEx.cpp.

Definition at line 637 of file OCLCommonEx.cpp.

Definition at line 618 of file OCLCommonEx.cpp.

bool OclCommonEx::IsAbstract ( CComPtr< IMgaFCO spFCO)

Definition at line 453 of file OCLCommonEx.cpp.

bool OclCommonEx::IsInLibrary ( CComPtr< IMgaObject spObject)

Definition at line 204 of file OCLCommonEx.cpp.

Definition at line 336 of file OCLCommonEx.cpp.

CString OclCommonEx::LowerFirst ( const CString &  strValue)

Definition at line 354 of file OCLCommonEx.cpp.

Definition at line 273 of file OCLCommonEx.cpp.

bool OclCommonEx::ParseCardinality ( const CString &  strCardinalityIn)

Definition at line 61 of file OCLCommonEx.cpp.

Definition at line 211 of file OCLCommonEx.cpp.

bool OclCommonEx::ResolveType ( const std::string strFullName,
std::string strKind,
objtype_enum eType 
)

Definition at line 311 of file OCLCommonEx.cpp.

Definition at line 286 of file OCLCommonEx.cpp.

StringVector OclCommonEx::TranslateDescriptionsToKinds ( ModelMap &  mapModels,
const StringVector vecDescriptions 
)

Definition at line 652 of file OCLCommonEx.cpp.

Definition at line 345 of file OCLCommonEx.cpp.

CString OclCommonEx::UpperFirst ( const CString &  strValue)

Definition at line 363 of file OCLCommonEx.cpp.