AspectRep Class Reference

#include <AspectRep.h>

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

List of all members.

Public Types

typedef std::vector< PartRepPartRepSeries
typedef PartRepSeries::iterator PartRepSeries_Iterator
typedef
PartRepSeries::const_iterator 
PartRepSeries_ConstIterator
typedef ModelRepKey
typedef std::map< Key,
PartRepSeries
ModelPartsMap
typedef ModelPartsMap::iterator ModelPartsMap_Iterator

Public Member Functions

 AspectRep (BON::FCO &ptr, BON::FCO &resp_ptr)
 ~AspectRep ()
std::string doDump ()
Any::KIND_TYPE getMyKind () const
std::string getName () const
std::string getDispName () const
bool getReadOnly () const
std::string getMyPrefix () const
BON::RegistryNode getMyRegistry () const
void addPart2Map (ModelRep *mptr, const PartRep &part)
void addFCO (FCO *fco)
void addRRole (RoleRep &role)
bool findFinalFCO (const FCO *fco) const
bool findFinalRole (const RoleRep &) const
void extendAspectWithDescendants ()
void sortPartMap ()
const PartRepSeriesgetPartSeries (ModelRep *mod_ptr)
bool lessThan (const AspectRep &rep) const
void getXY (unsigned int *x, unsigned int *y) const
void setPriority (int pr)
int getPriority () const
bool isDummy () const

Static Public Member Functions

static std::string getMyPrefix (BON::FCO &fco, BON::Folder &f)
static BON::RegistryNode getMyRegistry (BON::FCO &fco, BON::Folder &f)

Static Public Attributes

static const std::string m_aspectRegistryRoot = "AspectRegistry"
static const std::string m_aspectMetaRefsRoot = "AspectMetaRefs"
static const std::string m_aspectNamesRoot = "AspectSelNames"

Protected Attributes

int m_priority
std::vector< FCO * > m_fcoInitialList
std::vector< RoleRepm_roleInitialList
std::vector< FCO * > m_fcoFinalList
std::vector< RoleRepm_roleFinalList
ModelPartsMap m_partsMap
BON::FCO m_respPointer

Detailed Description

Definition at line 35 of file AspectRep.h.


Member Typedef Documentation

Definition at line 41 of file AspectRep.h.

Definition at line 42 of file AspectRep.h.

typedef ModelPartsMap::iterator AspectRep::ModelPartsMap_Iterator

Definition at line 43 of file AspectRep.h.

typedef std::vector< PartRep > AspectRep::PartRepSeries

Definition at line 38 of file AspectRep.h.

typedef PartRepSeries::const_iterator AspectRep::PartRepSeries_ConstIterator

Definition at line 40 of file AspectRep.h.

typedef PartRepSeries::iterator AspectRep::PartRepSeries_Iterator

Definition at line 39 of file AspectRep.h.


Constructor & Destructor Documentation

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

Definition at line 42 of file AspectRep.cpp.

AspectRep::~AspectRep (  ) 

Definition at line 63 of file AspectRep.cpp.


Member Function Documentation

void AspectRep::addFCO ( FCO fco  ) 

Definition at line 218 of file AspectRep.cpp.

void AspectRep::addPart2Map ( ModelRep mptr,
const PartRep part 
)

Definition at line 348 of file AspectRep.cpp.

void AspectRep::addRRole ( RoleRep role  ) 

Definition at line 224 of file AspectRep.cpp.

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

Implements Any.

Definition at line 73 of file AspectRep.cpp.

void AspectRep::extendAspectWithDescendants (  ) 

Definition at line 255 of file AspectRep.cpp.

bool AspectRep::findFinalFCO ( const FCO fco  )  const

Definition at line 230 of file AspectRep.cpp.

bool AspectRep::findFinalRole ( const RoleRep a_role  )  const

Definition at line 237 of file AspectRep.cpp.

std::string AspectRep::getDispName (  )  const [virtual]

Reimplemented from Any.

Definition at line 119 of file AspectRep.cpp.

Any::KIND_TYPE AspectRep::getMyKind (  )  const [virtual]

Implements Any.

Definition at line 76 of file AspectRep.cpp.

std::string AspectRep::getMyPrefix ( BON::FCO fco,
BON::Folder f 
) [static]

Reimplemented from Any.

Definition at line 203 of file AspectRep.cpp.

std::string AspectRep::getMyPrefix (  )  const [virtual]

Reimplemented from Any.

Definition at line 182 of file AspectRep.cpp.

BON::RegistryNode AspectRep::getMyRegistry ( BON::FCO fco,
BON::Folder f 
) [static]

Reimplemented from Any.

Definition at line 210 of file AspectRep.cpp.

BON::RegistryNode AspectRep::getMyRegistry (  )  const

Reimplemented from Any.

Definition at line 190 of file AspectRep.cpp.

std::string AspectRep::getName (  )  const [virtual]

Reimplemented from Any.

Definition at line 79 of file AspectRep.cpp.

const AspectRep::PartRepSeries & AspectRep::getPartSeries ( ModelRep mod_ptr  ) 

Definition at line 360 of file AspectRep.cpp.

int AspectRep::getPriority (  )  const

Definition at line 400 of file AspectRep.cpp.

bool AspectRep::getReadOnly (  )  const

Definition at line 165 of file AspectRep.cpp.

void AspectRep::getXY ( unsigned int *  x,
unsigned int *  y 
) const

Definition at line 379 of file AspectRep.cpp.

bool AspectRep::isDummy (  )  const

Definition at line 406 of file AspectRep.cpp.

bool AspectRep::lessThan ( const AspectRep rep  )  const

Definition at line 366 of file AspectRep.cpp.

void AspectRep::setPriority ( int  pr  ) 

Definition at line 394 of file AspectRep.cpp.

void AspectRep::sortPartMap (  ) 

Definition at line 336 of file AspectRep.cpp.


Member Data Documentation

const std::string AspectRep::m_aspectMetaRefsRoot = "AspectMetaRefs" [static]

Definition at line 78 of file AspectRep.h.

const std::string AspectRep::m_aspectNamesRoot = "AspectSelNames" [static]

Definition at line 79 of file AspectRep.h.

const std::string AspectRep::m_aspectRegistryRoot = "AspectRegistry" [static]

Definition at line 77 of file AspectRep.h.

std::vector<FCO*> AspectRep::m_fcoFinalList [protected]

Definition at line 92 of file AspectRep.h.

std::vector<FCO*> AspectRep::m_fcoInitialList [protected]

inital and final list of FCO-s intended to be part of the Aspect

Definition at line 90 of file AspectRep.h.

Definition at line 95 of file AspectRep.h.

int AspectRep::m_priority [protected]

Definition at line 84 of file AspectRep.h.

This pointer is in charge of the aspect name, NOTE: it may be an Aspect or SameAspect BON object

Definition at line 101 of file AspectRep.h.

std::vector<RoleRep> AspectRep::m_roleFinalList [protected]

Definition at line 93 of file AspectRep.h.

std::vector<RoleRep> AspectRep::m_roleInitialList [protected]

Definition at line 91 of file AspectRep.h.


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