ModelRep Class Reference

#include <ModelRep.h>

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

List of all members.

Public Types

typedef RoleRep RoleSeriesValue
typedef std::vector
< RoleSeriesValue
RoleSeries
typedef RoleSeries::iterator RoleSeries_Iterator
typedef RoleSeries::const_iterator RoleSeries_ConstIterator
typedef FCORoleMapKey
typedef RoleSeries RoleMapValue
typedef std::map< RoleMapKey,
RoleMapValue
RoleMap
typedef RoleMap::iterator RoleMap_Iterator
typedef RoleMap::const_iterator RoleMap_ConstIterator
typedef RoleRep RoleSeriesValue
typedef std::vector
< RoleSeriesValue
RoleSeries
typedef RoleSeries::iterator RoleSeries_Iterator
typedef RoleSeries::const_iterator RoleSeries_ConstIterator
typedef FCORoleMapKey
typedef RoleSeries RoleMapValue
typedef std::map< RoleMapKey,
RoleMapValue
RoleMap
typedef RoleMap::iterator RoleMap_Iterator
typedef RoleMap::const_iterator RoleMap_ConstIterator
typedef std::vector< AspectRep * > AspectRepPtrList

Public Member Functions

 ModelRep (BON::FCO &ptr, BON::FCO &resp_ptr)
 ~ModelRep ()
Any::KIND_TYPE getMyKind () const
std::string doDump ()
void addRole (RoleMapKey whose, RoleRep &role)
void initRoles ()
bool getRoles (FCO *ptr, RoleMapValue &) const
void addFinalRole (RoleMapKey whose, RoleRep &role)
bool getFinalRoles (const FCO *ptr, RoleMapValue &) const
std::vector< ModelRep * > getInnerModels () const
std::vector< ModelRep * > getInnerModelsFinal () const
std::vector< ReferenceRep * > getInnerModelReferencesFinal () const
bool check ()
void inherit ()
void addMethod (Method &m)
void createMethods ()
std::string expose (const std::string &repl_container)
std::string hide ()
 ModelRep (BON::FCO &ptr, BON::FCO &resp_ptr)
 ~ModelRep ()
std::string doDump ()
Any::KIND_TYPE getMyKind () const
void initAttributes ()
void addRole (RoleMapKey whose, RoleRep &role)
void initRoles ()
bool getRoles (FCO *ptr, RoleMapValue &) const
void addFinalRole (RoleMapKey whose, RoleRep &role)
bool getFinalRoles (const FCO *ptr, RoleMapValue &) const
std::vector< ModelRep * > getInnerModels () const
std::vector< ModelRep * > getInnerModelsFinal () const
std::vector< ReferenceRep * > getInnerModelReferencesFinal () const
void addAspect (AspectRep *asp)
const AspectRepPtrListgetAspectRepPtrList () const
const AspectRepPtrListgetFinalAspectRepPtrList () const
void addFinalAspect (AspectRep *)
void addFinalAspectList (const AspectRepPtrList &l)
void getAspectNames (CStringList &list) const
AspectRepgetFirstAspect () const
AspectRepgetMyFirstAspectFromSet (const std::vector< AspectRep * > &aspect_set) const
bool findAspect (const AspectRep *one_asp) const
std::string dumpTypeInfoShown ()
int searchMyAspectsForPart (PartRep &part) const
int howManyAspects () const
void createConstraints (Sheet *)
bool checkMyAspects (Sheet *)
void inherit ()
void sortMyAspects ()
void createPartsInModelAspects ()

Static Public Member Functions

static std::string roleGetterMethodName2 (FCO *fco, RoleRep *role, bool use_fco_name, const std::string &diff_nmsp)
static std::string roleGetterMethodName3 (FCO *fco, RoleRep *role, bool use_fco_name, const std::string &diff_nmsp)

Static Public Attributes

static const std::string IsTypeInfoShown_str = "IsTypeInfoShown"

Protected Attributes

RoleMap m_initialRoleMap
RoleMap m_finalRoleMap
std::vector< Methodm_methods
AspectRepPtrList m_initialAspectList
AspectRepPtrList m_finalAspectList
bool m_bAttrIsTypeInfoShown

Detailed Description

Represents a Model kind. Since the containment relationship always refers to a model, this class has to have at least references to the Roles. Has to contain the Aspect related information also.

Definition at line 19 of file BONExtender/Rep/ModelRep.h.


Member Typedef Documentation

typedef std::vector<AspectRep*> ModelRep::AspectRepPtrList

Definition at line 35 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 31 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 29 of file BONExtender/Rep/ModelRep.h.

typedef RoleMap::const_iterator ModelRep::RoleMap_ConstIterator

Definition at line 33 of file MetaInterpreter/Rep/ModelRep.h.

typedef RoleMap::const_iterator ModelRep::RoleMap_ConstIterator

Definition at line 31 of file BONExtender/Rep/ModelRep.h.

typedef RoleMap::iterator ModelRep::RoleMap_Iterator

Definition at line 32 of file MetaInterpreter/Rep/ModelRep.h.

typedef RoleMap::iterator ModelRep::RoleMap_Iterator

Definition at line 30 of file BONExtender/Rep/ModelRep.h.

Definition at line 29 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 27 of file BONExtender/Rep/ModelRep.h.

Definition at line 30 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 28 of file BONExtender/Rep/ModelRep.h.

typedef std::vector<RoleSeriesValue> ModelRep::RoleSeries

Definition at line 26 of file MetaInterpreter/Rep/ModelRep.h.

typedef std::vector<RoleSeriesValue> ModelRep::RoleSeries

Definition at line 24 of file BONExtender/Rep/ModelRep.h.

typedef RoleSeries::const_iterator ModelRep::RoleSeries_ConstIterator

Definition at line 28 of file MetaInterpreter/Rep/ModelRep.h.

typedef RoleSeries::const_iterator ModelRep::RoleSeries_ConstIterator

Definition at line 26 of file BONExtender/Rep/ModelRep.h.

typedef RoleSeries::iterator ModelRep::RoleSeries_Iterator

Definition at line 27 of file MetaInterpreter/Rep/ModelRep.h.

typedef RoleSeries::iterator ModelRep::RoleSeries_Iterator

Definition at line 25 of file BONExtender/Rep/ModelRep.h.

Definition at line 25 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 23 of file BONExtender/Rep/ModelRep.h.


Constructor & Destructor Documentation

ModelRep::ModelRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 18 of file BONExtender/Rep/ModelRep.cpp.

ModelRep::~ModelRep (  ) 

Definition at line 27 of file BONExtender/Rep/ModelRep.cpp.

ModelRep::ModelRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
ModelRep::~ModelRep (  ) 

Member Function Documentation

void ModelRep::addAspect ( AspectRep asp  ) 

Definition at line 153 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::addFinalAspect ( AspectRep asp_ptr  ) 

Definition at line 368 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::addFinalAspectList ( const AspectRepPtrList l  ) 

Definition at line 380 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::addFinalRole ( RoleMapKey  whose,
RoleRep role 
)
void ModelRep::addFinalRole ( RoleMapKey  whose,
RoleRep role 
)
void ModelRep::addMethod ( Method m  )  [inline]

Definition at line 57 of file BONExtender/Rep/ModelRep.h.

void ModelRep::addRole ( RoleMapKey  whose,
RoleRep role 
)
void ModelRep::addRole ( RoleMapKey  whose,
RoleRep role 
)
bool ModelRep::check (  ) 

Definition at line 276 of file BONExtender/Rep/ModelRep.cpp.

bool ModelRep::checkMyAspects ( Sheet s  ) 

Definition at line 721 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::createConstraints ( Sheet s  ) 

Definition at line 745 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::createMethods (  ) 

Definition at line 308 of file BONExtender/Rep/ModelRep.cpp.

void ModelRep::createPartsInModelAspects (  ) 

Definition at line 316 of file MetaInterpreter/Rep/ModelRep.cpp.

std::string ModelRep::doDump (  )  [virtual]

Implements Any.

std::string ModelRep::doDump (  )  [virtual]

Implements Any.

Definition at line 325 of file BONExtender/Rep/ModelRep.cpp.

std::string ModelRep::dumpTypeInfoShown (  ) 

Definition at line 484 of file MetaInterpreter/Rep/ModelRep.cpp.

std::string ModelRep::expose ( const std::string repl_container  )  [virtual]

Reimplemented from FCO.

Definition at line 360 of file BONExtender/Rep/ModelRep.cpp.

bool ModelRep::findAspect ( const AspectRep one_asp  )  const

Definition at line 415 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::getAspectNames ( CStringList &  list  )  const

Definition at line 473 of file MetaInterpreter/Rep/ModelRep.cpp.

const ModelRep::AspectRepPtrList & ModelRep::getAspectRepPtrList (  )  const

Definition at line 165 of file MetaInterpreter/Rep/ModelRep.cpp.

const ModelRep::AspectRepPtrList & ModelRep::getFinalAspectRepPtrList (  )  const

Definition at line 362 of file MetaInterpreter/Rep/ModelRep.cpp.

bool ModelRep::getFinalRoles ( const FCO ptr,
RoleMapValue  
) const
bool ModelRep::getFinalRoles ( const FCO ptr,
RoleMapValue map_val 
) const

Definition at line 138 of file BONExtender/Rep/ModelRep.cpp.

AspectRep * ModelRep::getFirstAspect (  )  const

Definition at line 394 of file MetaInterpreter/Rep/ModelRep.cpp.

std::vector< ReferenceRep *> ModelRep::getInnerModelReferencesFinal (  )  const
std::vector< ReferenceRep * > ModelRep::getInnerModelReferencesFinal (  )  const

Definition at line 175 of file BONExtender/Rep/ModelRep.cpp.

std::vector< ModelRep *> ModelRep::getInnerModels (  )  const
std::vector< ModelRep * > ModelRep::getInnerModels (  )  const

Definition at line 102 of file BONExtender/Rep/ModelRep.cpp.

std::vector< ModelRep *> ModelRep::getInnerModelsFinal (  )  const
std::vector< ModelRep * > ModelRep::getInnerModelsFinal (  )  const

Definition at line 156 of file BONExtender/Rep/ModelRep.cpp.

AspectRep * ModelRep::getMyFirstAspectFromSet ( const std::vector< AspectRep * > &  aspect_set  )  const

Definition at line 433 of file MetaInterpreter/Rep/ModelRep.cpp.

Any::KIND_TYPE ModelRep::getMyKind (  )  const [inline, virtual]

Implements FCO.

Definition at line 43 of file MetaInterpreter/Rep/ModelRep.h.

Any::KIND_TYPE ModelRep::getMyKind (  )  const [inline, virtual]

Implements FCO.

Definition at line 37 of file BONExtender/Rep/ModelRep.h.

bool ModelRep::getRoles ( FCO ptr,
RoleMapValue  
) const
bool ModelRep::getRoles ( FCO ptr,
RoleMapValue map_val 
) const

Definition at line 91 of file BONExtender/Rep/ModelRep.cpp.

std::string ModelRep::hide (  )  [virtual]

Reimplemented from FCO.

Definition at line 375 of file BONExtender/Rep/ModelRep.cpp.

int ModelRep::howManyAspects (  )  const

Definition at line 388 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::inherit (  ) 
void ModelRep::inherit (  ) 

Definition at line 209 of file BONExtender/Rep/ModelRep.cpp.

void ModelRep::initAttributes (  )  [virtual]

Reimplemented from FCO.

Definition at line 40 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::initRoles (  ) 
void ModelRep::initRoles (  ) 

Definition at line 50 of file BONExtender/Rep/ModelRep.cpp.

std::string ModelRep::roleGetterMethodName2 ( FCO fco,
RoleRep role,
bool  use_fco_name,
const std::string diff_nmsp 
) [static]

Definition at line 285 of file BONExtender/Rep/ModelRep.cpp.

std::string ModelRep::roleGetterMethodName3 ( FCO fco,
RoleRep role,
bool  use_fco_name,
const std::string diff_nmsp 
) [static]

Definition at line 298 of file BONExtender/Rep/ModelRep.cpp.

int ModelRep::searchMyAspectsForPart ( PartRep part  )  const

Definition at line 457 of file MetaInterpreter/Rep/ModelRep.cpp.

void ModelRep::sortMyAspects (  ) 

Definition at line 308 of file MetaInterpreter/Rep/ModelRep.cpp.


Member Data Documentation

const std::string ModelRep::IsTypeInfoShown_str = "IsTypeInfoShown" [static]

Definition at line 22 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 96 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 94 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 67 of file BONExtender/Rep/ModelRep.h.

Definition at line 93 of file MetaInterpreter/Rep/ModelRep.h.

Definition at line 66 of file BONExtender/Rep/ModelRep.h.

std::vector<Method> ModelRep::m_methods [protected]

Definition at line 69 of file BONExtender/Rep/ModelRep.h.


The documentation for this class was generated from the following files:
Generated on Thu May 30 15:53:43 2013 for GME by  doxygen 1.6.3