BON Namespace Reference

Classes

class  Component
class  Deallocator
class  ProcessingBaseImpl
class  CompoundImpl
class  PrimitiveImpl
class  ParameterImpl
class  IOParameterImpl
class  SignalImpl
class  MyVisitor
class  Project
class  Object
class  RegistryNode
class  Folder
class  ConnectionEnd
class  ReferencePort
class  FCO
class  Attribute
class  Atom
class  Model
class  Set
class  Reference
class  Connection
class  ReferencePortContainer
class  TypeInhObject
class  Type
class  Instance
class  FCORegistryNode
class  FCOExRegistryNode
class  ModelRegistryNode
class  ConnectionRegistryNode
class  Visitor
class  ProjectImpl
class  ObjectImpl
class  RegistryNodeImpl
class  FolderImpl
class  ConnectionEndImpl
class  ReferencePortImpl
class  FCOImpl
class  AttributeImpl
class  AtomImpl
class  ModelImpl
class  SetImpl
class  ReferenceImpl
class  ConnectionImpl
class  ReferencePortContainerImpl
class  TypeInhObjectImpl
class  InstanceImpl
class  TypeImpl
class  FCORegistryNodeImpl
class  FCOExRegistryNodeImpl
class  ModelRegistryNodeImpl
class  ConnectionRegistryNodeImpl
class  Event
class  EventListener
class  EventListenerPool
class  Exception
struct  ExtensionsCleanup
class  ExtensionManager
class  Extension
class  Extension2
class  Extension3
class  Extension4
class  Extension5
class  Extension6
class  ExtensionA
class  ExtensionA2
class  ExtensionA3
class  ExtensionA4
class  ExtensionA5
class  ExtensionA6

Typedefs

typedef std::vector< std::stringRoleVec
typedef std::pair
< MON::Connection, RoleVec
RoleMeta2
typedef Util::ComPtr< IMgaProject > ProjectPtr
typedef Util::ComPtr
< IMgaTerritory > 
TerritoryPtr
typedef Util::ComPtr< IMgaObject > ObjectPtr
typedef Util::ComPtr< IMgaFolder > FolderPtr
typedef Util::ComPtr< IMgaFCO > FCOPtr
typedef Util::ComPtr< IMgaAtom > AtomPtr
typedef Util::ComPtr< IMgaModel > ModelPtr
typedef Util::ComPtr
< IMgaConnection > 
ConnectionPtr
typedef Util::ComPtr< IMgaSet > SetPtr
typedef Util::ComPtr
< IMgaReference > 
ReferencePtr
typedef Util::ComPtr
< IMgaAttribute > 
AttributePtr
typedef Util::ComPtr< IMgaRegNode > RegNodePtr
typedef Util::ComPtr
< IMgaConnPoint > 
ConnPointPtr
typedef Util::ComPtr< IMgaFCOs > FCOsPtr
typedef Util::ComPtr< IMgaObjects > ObjsPtr
typedef Util::ComPtr< IGMEOLEApp > GMEAppPtr
typedef Util::ComPtr< IGMEOLEColl > GMECollPtr
typedef Util::ComPtr
< IGMEOLEPanel > 
GMEPanelPtr
typedef std::set< ObjectImpl * > ObjectSet
typedef std::pair< bool,
ObjectSet
ObjectSetPair
typedef std::set< FolderImpl * > FolderSet
typedef std::pair< bool,
FolderSet
FolderSetPair
typedef std::set< FCOImpl * > FCOSet
typedef std::pair< bool, FCOSetFCOSetPair
typedef std::set< SetImpl * > SetSet
typedef std::pair< bool, SetSetSetSetPair
typedef std::set< ReferenceImpl * > ReferenceSet
typedef std::pair< bool,
ReferenceSet
ReferenceSetPair
typedef std::set
< ConnectionImpl * > 
ConnectionSet
typedef std::pair< bool,
ConnectionSet
ConnectionSetPair
typedef std::set
< ConnectionEndImpl * > 
ConnectionEndSet
typedef std::pair< bool,
ConnectionEndSet
ConnectionEndSetPair
typedef std::set
< ReferencePortImpl * > 
ReferencePortSet
typedef long AttributeStatus
typedef long RegistryNodeStatus
typedef unsigned long ULong
typedef std::pair< ULong, ULongPoint
typedef std::vector< std::stringStringVector
typedef std::pair
< ExtensionType, int > 
ExtensionInfo

Enumerations

enum  DataType { DT_Integer, DT_Real, DT_Character, DT_Pointer }
enum  ObjectStatus { OST_Exists = 0, OST_Deleted, OST_Zombie, OST_Null }
enum  ObjectType {
  OT_Null = 0, OT_Model = 1, OT_Atom = 2, OT_Reference = 3,
  OT_Connection = 4, OT_Set = 5, OT_Folder = 6
}
enum  NamePosition {
  NP_North = 0, NP_NorthEast, NP_East, NP_SouthEast,
  NP_South, NP_SouthWest, NP_West, NP_NorthWest,
  NP_Center
}
enum  AutoRouterPref { ARP_North, ARP_South, ARP_West, ARP_East }
enum  LineType { LT_Solid, LT_Dash }
enum  LineEndType {
  LET_Butt, LET_Arrow, LET_Diamond, LET_Apex,
  LET_Bullet, LET_EmptyDiamond, LET_EmptyApex, LET_EmptyBullet,
  LET_LeftHalfArrow, LET_RightHalfArrow
}
enum  ExtensionType { EXT_None = 0, EXT_MetaKind = 1, EXT_Kind = 2, EXT_Role = 3 }

Functions

static CString operator+ (const CString &A, const std::string &B)
static CString MakeHyperlink (BON::Object &obj)
 IMPLEMENT_ABSTRACT_BONEXTENSION (SF_BON::Processing)
 IMPLEMENT_BONEXTENSION (SF_BON::Compound,"Compound")
 IMPLEMENT_BONEXTENSION (SF_BON::Primitive,"Primitive")
 IMPLEMENT_BONEXTENSION (SF_BON::ParameterBase," OutputParam")
 IMPLEMENT_BONEXTENSION (SF_BON::InputParam,"InputParam")
 IMPLEMENT_BONEXTENSION (SF_BON::Param,"Param")
 IMPLEMENT_BONEXTENSION (SF_BON::Signal," InputSignal OutputSignal")
 IMPLEMENT_BONEXTENSION (Compound,"Compound")
 IMPLEMENT_BONEXTENSION (Primitive,"PrimitiveParts")
 IMPLEMENT_BONEXTENSION (Parameter,"Param InputParam OutputParam")
 IMPLEMENT_BONEXTENSION (IOParameter,"InputParameters OutputParameters")
 IMPLEMENT_BONEXTENSION (Signal,"BON::Atom")
 DECLARE_BONEXTENSION (Model, CompoundImpl, Compound)
 DECLARE_BONEXTENSION (Model, PrimitiveImpl, Primitive)
 DECLARE_BONEXTENSION (Atom, ParameterImpl, Parameter)
 DECLARE_BONEXTENSION (Atom, IOParameterImpl, IOParameter)
 DECLARE_BONEXTENSION (Atom, SignalImpl, Signal)
ProjectImpl_getProject (IMgaObject *spObject, ProjectImpl *pProject)
MON::ObjectPtr _getMetaBase (IMgaObject *spObject)
std::string _getMetaName (IMgaObject *spObject)
long _getMetaRef (IMgaObject *spObject)
MON::Containment _getMetaRole (IMgaFCO *spFCO)
void _checkIsCallable (ObjectImpl *pObject)
bool _isAddOn ()
template<class T >
std::set< T > & filterByAspect (std::set< T > &inSet, const MON::Aspect &meta)
template<class T , class TI >
void setCopy (const std::set< TI * > &setIn, std::set< T > &setOut)
template<class T , class TI , class TC >
void setCastCopy (const std::set< TI * > &setIn, std::set< T > &setOut)
bool Convert (const std::string &strValue, long &lValue, bool bIsHexa)
bool Convert (const std::string &strValue, COLORREF &crValue)
std::string Convert (COLORREF crValue)
bool Convert (const std::string &strValueIn, NamePosition &eValue)
std::string Convert (NamePosition pos)
bool Convert (const std::string &strValue, LineType &eType)
std::string Convert (LineType eType)
bool Convert (const std::string &strValue, LineEndType &eType)
std::string Convert (LineEndType eType)
void splitKinds (const std::string &strKinds, std::vector< std::string > &vecKinds)
bool isMetaKindMatched (const std::string &strUserKind, const std::string &strBaseType)
ObjectImplcastObjectImpl (ObjectImpl *pObject, const std::string &strBEType, ObjectType eType, const std::vector< std::string > &vecKinds, const std::vector< std::string > &vecDerivedKinds)
ExtensionType castImpl (ObjectType eOType, const std::string &strKind, const std::string &strRole, const std::string &strBEType, ObjectType eType, const std::vector< std::string > &vecKinds)
void mergeTypes (const std::string &strType1, ObjectType eType1, const std::string &strType2, ObjectType eType2, std::string &strType, ObjectType &eType)

Variables

const long AS_Here = 0
const long AS_Meta = -1
const long AS_Undefined = -2
const long RNS_Here = 0
const long RNS_Meta = -1
const long RNS_Undefined = -2
struct BON::ExtensionsCleanup cleanup

Typedef Documentation

typedef Util::ComPtr<IMgaAtom> BON::AtomPtr

Definition at line 72 of file BONImpl.h.

typedef Util::ComPtr<IMgaAttribute> BON::AttributePtr

Definition at line 77 of file BONImpl.h.

typedef long BON::AttributeStatus

Definition at line 171 of file Common.h.

Definition at line 99 of file BONImpl.h.

Definition at line 100 of file BONImpl.h.

typedef Util::ComPtr<IMgaConnection> BON::ConnectionPtr

Definition at line 74 of file BONImpl.h.

typedef std::set<ConnectionImpl*> BON::ConnectionSet

Definition at line 97 of file BONImpl.h.

typedef std::pair<bool,ConnectionSet> BON::ConnectionSetPair

Definition at line 98 of file BONImpl.h.

typedef Util::ComPtr<IMgaConnPoint> BON::ConnPointPtr

Definition at line 79 of file BONImpl.h.

typedef std::pair<ExtensionType,int> BON::ExtensionInfo

Definition at line 36 of file Extensions.h.

typedef Util::ComPtr<IMgaFCO> BON::FCOPtr

Definition at line 71 of file BONImpl.h.

typedef std::set<FCOImpl*> BON::FCOSet

Definition at line 91 of file BONImpl.h.

typedef std::pair<bool,FCOSet> BON::FCOSetPair

Definition at line 92 of file BONImpl.h.

typedef Util::ComPtr<IMgaFCOs> BON::FCOsPtr

Definition at line 80 of file BONImpl.h.

typedef Util::ComPtr<IMgaFolder> BON::FolderPtr

Definition at line 70 of file BONImpl.h.

typedef std::set<FolderImpl*> BON::FolderSet

Definition at line 89 of file BONImpl.h.

typedef std::pair<bool,FolderSet> BON::FolderSetPair

Definition at line 90 of file BONImpl.h.

typedef Util::ComPtr<IGMEOLEApp> BON::GMEAppPtr

Definition at line 83 of file BONImpl.h.

typedef Util::ComPtr<IGMEOLEColl> BON::GMECollPtr

Definition at line 84 of file BONImpl.h.

typedef Util::ComPtr<IGMEOLEPanel> BON::GMEPanelPtr

Definition at line 85 of file BONImpl.h.

typedef Util::ComPtr<IMgaModel> BON::ModelPtr

Definition at line 73 of file BONImpl.h.

typedef Util::ComPtr<IMgaObject> BON::ObjectPtr

Definition at line 69 of file BONImpl.h.

typedef std::set<ObjectImpl*> BON::ObjectSet

Definition at line 87 of file BONImpl.h.

typedef std::pair<bool,ObjectSet> BON::ObjectSetPair

Definition at line 88 of file BONImpl.h.

typedef Util::ComPtr<IMgaObjects> BON::ObjsPtr

Definition at line 81 of file BONImpl.h.

typedef std::pair<ULong, ULong> BON::Point

Definition at line 196 of file Common.h.

typedef Util::ComPtr<IMgaProject> BON::ProjectPtr

Definition at line 65 of file BONImpl.h.

Definition at line 101 of file BONImpl.h.

typedef Util::ComPtr<IMgaReference> BON::ReferencePtr

Definition at line 76 of file BONImpl.h.

typedef std::set<ReferenceImpl*> BON::ReferenceSet

Definition at line 95 of file BONImpl.h.

typedef std::pair<bool,ReferenceSet> BON::ReferenceSetPair

Definition at line 96 of file BONImpl.h.

Definition at line 183 of file Common.h.

typedef Util::ComPtr<IMgaRegNode> BON::RegNodePtr

Definition at line 78 of file BONImpl.h.

Definition at line 2681 of file BONImpl.cpp.

typedef std::vector<std::string> BON::RoleVec

Definition at line 2680 of file BONImpl.cpp.

typedef Util::ComPtr<IMgaSet> BON::SetPtr

Definition at line 75 of file BONImpl.h.

typedef std::set<SetImpl*> BON::SetSet

Definition at line 93 of file BONImpl.h.

typedef std::pair<bool,SetSet> BON::SetSetPair

Definition at line 94 of file BONImpl.h.

typedef std::vector<std::string> BON::StringVector

Definition at line 134 of file Exceptions.h.

typedef Util::ComPtr<IMgaTerritory> BON::TerritoryPtr

Definition at line 68 of file BONImpl.h.

typedef unsigned long BON::ULong

Definition at line 195 of file Common.h.


Enumeration Type Documentation

Enumerator:
ARP_North 
ARP_South 
ARP_West 
ARP_East 

Definition at line 223 of file Common.h.

Enumerator:
DT_Integer 
DT_Real 
DT_Character 
DT_Pointer 

Definition at line 151 of file Paradigms/SF/BON2SFSample/BON2Component.h.

Enumerator:
EXT_None 
EXT_MetaKind 
EXT_Kind 
EXT_Role 

Definition at line 35 of file Extensions.h.

Enumerator:
LET_Butt 
LET_Arrow 
LET_Diamond 
LET_Apex 
LET_Bullet 
LET_EmptyDiamond 
LET_EmptyApex 
LET_EmptyBullet 
LET_LeftHalfArrow 
LET_RightHalfArrow 

Definition at line 249 of file Common.h.

Enumerator:
LT_Solid 
LT_Dash 

Definition at line 237 of file Common.h.

Enumerator:
NP_North 
NP_NorthEast 
NP_East 
NP_SouthEast 
NP_South 
NP_SouthWest 
NP_West 
NP_NorthWest 
NP_Center 

Definition at line 204 of file Common.h.

Enumerator:
OST_Exists 
OST_Deleted 
OST_Zombie 
OST_Null 

Definition at line 140 of file Common.h.

Enumerator:
OT_Null 
OT_Model 
OT_Atom 
OT_Reference 
OT_Connection 
OT_Set 
OT_Folder 

Definition at line 154 of file Common.h.


Function Documentation

void BON::_checkIsCallable ( ObjectImpl *  pObject  )  [inline]

Definition at line 82 of file BONImpl.cpp.

MON::ObjectPtr BON::_getMetaBase ( IMgaObject *  spObject  )  [inline]

Definition at line 54 of file BONImpl.cpp.

std::string BON::_getMetaName ( IMgaObject *  spObject  )  [inline]

Definition at line 61 of file BONImpl.cpp.

long BON::_getMetaRef ( IMgaObject *  spObject  )  [inline]

Definition at line 68 of file BONImpl.cpp.

MON::Containment BON::_getMetaRole ( IMgaFCO *  spFCO  )  [inline]

Definition at line 75 of file BONImpl.cpp.

ProjectImpl* BON::_getProject ( IMgaObject *  spObject,
ProjectImpl *  pProject 
) [inline]

Definition at line 45 of file BONImpl.cpp.

bool BON::_isAddOn (  )  [inline]

Definition at line 88 of file BONImpl.cpp.

ExtensionType BON::castImpl ( ObjectType  eOType,
const std::string strKind,
const std::string strRole,
const std::string strBEType,
ObjectType  eType,
const std::vector< std::string > &  vecKinds 
)
ObjectImpl * BON::castObjectImpl ( ObjectImpl *  pObject,
const std::string strBEType,
ObjectType  eType,
const std::vector< std::string > &  vecKinds,
const std::vector< std::string > &  vecDerivedKinds 
)
std::string BON::Convert ( LineEndType  eType  ) 

Definition at line 344 of file BONImpl.cpp.

bool BON::Convert ( const std::string strValue,
LineEndType &  eType 
)

Definition at line 299 of file BONImpl.cpp.

std::string BON::Convert ( LineType  eType  ) 

Definition at line 290 of file BONImpl.cpp.

bool BON::Convert ( const std::string strValue,
LineType &  eType 
)

Definition at line 277 of file BONImpl.cpp.

std::string BON::Convert ( NamePosition  pos  ) 

Definition at line 261 of file BONImpl.cpp.

bool BON::Convert ( const std::string strValueIn,
NamePosition &  eValue 
)

Definition at line 212 of file BONImpl.cpp.

std::string BON::Convert ( COLORREF  crValue  ) 

Definition at line 205 of file BONImpl.cpp.

bool BON::Convert ( const std::string strValue,
COLORREF &  crValue 
)

Definition at line 191 of file BONImpl.cpp.

bool BON::Convert ( const std::string strValue,
long &  lValue,
bool  bIsHexa 
)

Definition at line 186 of file BONImpl.cpp.

BON::DECLARE_BONEXTENSION ( Atom  ,
SignalImpl  ,
Signal   
)
BON::DECLARE_BONEXTENSION ( Atom  ,
IOParameterImpl  ,
IOParameter   
)
BON::DECLARE_BONEXTENSION ( Atom  ,
ParameterImpl  ,
Parameter   
)
BON::DECLARE_BONEXTENSION ( Model  ,
PrimitiveImpl  ,
Primitive   
)
BON::DECLARE_BONEXTENSION ( Model  ,
CompoundImpl  ,
Compound   
)
template<class T >
std::set<T>& BON::filterByAspect ( std::set< T > &  inSet,
const MON::Aspect meta 
) [inline]

Definition at line 94 of file BONImpl.cpp.

BON::IMPLEMENT_ABSTRACT_BONEXTENSION ( SF_BON::Processing   ) 
BON::IMPLEMENT_BONEXTENSION ( Signal  ,
"BON::Atom"   
)
BON::IMPLEMENT_BONEXTENSION ( IOParameter  ,
"InputParameters OutputParameters"   
)
BON::IMPLEMENT_BONEXTENSION ( Parameter  ,
"Param InputParam OutputParam"   
)
BON::IMPLEMENT_BONEXTENSION ( Primitive  ,
"PrimitiveParts"   
)
BON::IMPLEMENT_BONEXTENSION ( Compound  ,
"Compound"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::Signal  ,
" InputSignal OutputSignal"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::Param  ,
"Param"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::InputParam  ,
"InputParam"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::ParameterBase  ,
" OutputParam"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::Primitive  ,
"Primitive"   
)
BON::IMPLEMENT_BONEXTENSION ( SF_BON::Compound  ,
"Compound"   
)
bool BON::isMetaKindMatched ( const std::string strUserKind,
const std::string strBaseType 
)

Definition at line 62 of file Extensions.cpp.

static CString BON::MakeHyperlink ( BON::Object obj  )  [static]

Definition at line 64 of file Doc/Tutorial/L3/BON2Ex/BON2Component.cpp.

void BON::mergeTypes ( const std::string strType1,
ObjectType  eType1,
const std::string strType2,
ObjectType  eType2,
std::string strType,
ObjectType eType 
)
static CString BON::operator+ ( const CString &  A,
const std::string B 
) [static]

Definition at line 59 of file Doc/Tutorial/L3/BON2Ex/BON2Component.cpp.

template<class T , class TI , class TC >
void BON::setCastCopy ( const std::set< TI * > &  setIn,
std::set< T > &  setOut 
) [inline]

Definition at line 116 of file BONImpl.cpp.

template<class T , class TI >
void BON::setCopy ( const std::set< TI * > &  setIn,
std::set< T > &  setOut 
) [inline]

Definition at line 109 of file BONImpl.cpp.

void BON::splitKinds ( const std::string strKinds,
std::vector< std::string > &  vecKinds 
)

Variable Documentation

const long BON::AS_Here = 0

Definition at line 173 of file Common.h.

const long BON::AS_Meta = -1

Definition at line 174 of file Common.h.

const long BON::AS_Undefined = -2

Definition at line 175 of file Common.h.

const long BON::RNS_Here = 0

Definition at line 185 of file Common.h.

const long BON::RNS_Meta = -1

Definition at line 186 of file Common.h.

const long BON::RNS_Undefined = -2

Definition at line 187 of file Common.h.

Generated on Thu May 30 15:56:41 2013 for GME by  doxygen 1.6.3