Sheet Class Reference

#include <Sheet.h>

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

List of all members.

Public Member Functions

virtual ~Sheet ()
virtual bool build ()=0
virtual bool finalize ()
void setProject (BON::Project &project)
std::string getValidName ()
FcoRepcreateFcoRep (BON::FCO &ptr, BON::FCO &resp_ptr)
AtomRepcreateAtomRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ModelRepcreateModelRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ConnectionRepcreateConnectionRep (BON::FCO &ptr, BON::FCO &resp_ptr)
SetRepcreateSetRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ReferenceRepcreateReferenceRep (BON::FCO &ptr, BON::FCO &resp_ptr)
FolderRepcreateFolderRep (BON::FCO &ptr, BON::FCO &resp_ptr)
AttributeRepcreateBoolAttributeRep (BON::FCO &ptr)
AttributeRepcreateEnumAttributeRep (BON::FCO &ptr)
AttributeRepcreateFieldAttributeRep (BON::FCO &ptr)
FCOfindFCO (const BON::FCO &ptr)
ReferenceRepfindRef (const BON::FCO &ptr)
AnyfindAny (const BON::FCO &ptr)
std::string getNamespace ()
virtual ~Sheet ()
virtual bool build ()=0
virtual bool finalize ()
void setProject (BON::Project &project)
FcoRepcreateFcoRep (BON::FCO &ptr, BON::FCO &resp_ptr)
AtomRepcreateAtomRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ModelRepcreateModelRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ConnectionRepcreateConnectionRep (BON::FCO &ptr, BON::FCO &resp_ptr)
SetRepcreateSetRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ReferenceRepcreateReferenceRep (BON::FCO &ptr, BON::FCO &resp_ptr)
FolderRepcreateFolderRep (BON::FCO &ptr, BON::FCO &resp_ptr)
AspectRepcreateAspectRep (BON::FCO &ptr, BON::FCO &resp_ptr)
ConstraintRepcreateConstraintRep (BON::FCO &ptr)
ConstraintFuncRepcreateConstraintFuncRep (BON::FCO &ptr)
AttributeRepcreateBoolAttributeRep (BON::FCO &ptr)
AttributeRepcreateEnumAttributeRep (BON::FCO &ptr)
AttributeRepcreateFieldAttributeRep (BON::FCO &ptr)
FCOfindFCO (const BON::FCO &ptr)
ReferenceRepfindRef (const BON::FCO &ptr)
AnyfindAny (const BON::FCO &ptr)
std::string getNamespace ()

Static Public Member Functions

static bool checkInstance ()
static bool checkInstance ()
static bool makeValidParadigmName (const std::string &pInName, std::string &result)
static bool makeValidNamespace (const std::string &pInName, std::string &result)

Public Attributes

BON::Folder m_BON_Project_Root_Folder2
std::set< BON::Modelm_setOfParadigmSheets2

Static Public Attributes

static BON::Folder m_BON_Project_Root_Folder = BON::Folder()

Protected Types

typedef std::vector< FCO * >
::iterator 
FCO_Iterator
typedef std::vector< Any * >
::iterator 
Any_Iterator
typedef std::vector< FcoRep * >
::iterator 
FcoRep_Iterator
typedef std::vector< AtomRep * >
::iterator 
AtomRep_Iterator
typedef std::vector< ModelRep * >
::iterator 
ModelRep_Iterator
typedef std::vector
< ConnectionRep * >::iterator 
ConnectionRep_Iterator
typedef std::vector
< ReferenceRep * >::iterator 
ReferenceRep_Iterator
typedef std::vector< SetRep * >
::iterator 
SetRep_Iterator
typedef std::vector< FolderRep * >
::iterator 
FolderRep_Iterator
typedef std::vector
< AttributeRep * >::iterator 
AttributeRep_Iterator
typedef std::vector< FCO * >
::iterator 
FCO_Iterator
typedef std::vector< Any * >
::iterator 
Any_Iterator
typedef std::vector< FcoRep * >
::iterator 
FcoRep_Iterator
typedef std::vector< AtomRep * >
::iterator 
AtomRep_Iterator
typedef std::vector< ModelRep * >
::iterator 
ModelRep_Iterator
typedef std::vector
< ConnectionRep * >::iterator 
ConnectionRep_Iterator
typedef std::vector
< ReferenceRep * >::iterator 
ReferenceRep_Iterator
typedef std::vector< SetRep * >
::iterator 
SetRep_Iterator
typedef std::vector< FolderRep * >
::iterator 
FolderRep_Iterator
typedef std::vector< AspectRep * >
::iterator 
AspectRep_Iterator
typedef std::vector
< ConstraintRep * >::iterator 
ConstraintRep_Iterator
typedef std::vector
< ConstraintFuncRep * >
::iterator 
ConstraintFuncRep_Iterator
typedef std::vector
< AttributeRep * >::iterator 
AttributeRep_Iterator
typedef std::vector< FCO * >
::const_iterator 
FCO_ConstIterator
typedef std::vector< FolderRep * >
::const_iterator 
FolderRep_ConstIterator

Protected Member Functions

 Sheet ()
std::vector< FCO * > sortBasedOnLevels ()
void addAny (Any *ptr)
void addFcoRep (FcoRep *ptr)
void addAtomRep (AtomRep *ptr)
void addModelRep (ModelRep *ptr)
void addConnectionRep (ConnectionRep *ptr)
void addReferenceRep (ReferenceRep *ptr)
void addSetRep (SetRep *ptr)
void addFolderRep (FolderRep *ptr)
void addAttributeRep (AttributeRep *ptr)
 Sheet ()
void addAny (Any *ptr)
void addFcoRep (FcoRep *ptr)
void addAtomRep (AtomRep *ptr)
void addModelRep (ModelRep *ptr)
void addConnectionRep (ConnectionRep *ptr)
void addReferenceRep (ReferenceRep *ptr)
void addSetRep (SetRep *ptr)
void addFolderRep (FolderRep *ptr)
void addAspectRep (AspectRep *ptr)
void addConstraintFuncRep (ConstraintFuncRep *ptr)
void addConstraintRep (ConstraintRep *ptr)
void addAttributeRep (AttributeRep *ptr)

Protected Attributes

int m_numberOfCliques [FCO::NUMBER_OF_INHERITANCES]
std::vector< FcoRep * > m_fcoRepList
std::vector< AtomRep * > m_atomList
std::vector< ModelRep * > m_modelList
std::vector< ConnectionRep * > m_connList
std::vector< ReferenceRep * > m_refList
std::vector< SetRep * > m_setList
std::vector< FolderRep * > m_folderList
std::vector< AttributeRep * > m_attributeList
std::string m_projName
std::string m_validProjName
std::string m_projNamespace
std::string m_validProjNamespace
RootFolder m_rootFolder
std::vector< AspectRep * > m_aspectList
std::vector< ConstraintRep * > m_constraintList
std::vector< ConstraintFuncRep * > m_constraintFuncList
std::string m_projVersion
std::string m_projGUID
std::string m_projCreated
std::string m_projModified
std::string m_projAuthor
std::string m_projComment

Static Protected Attributes

static Sheetm_theOnlyInstance = 0

Detailed Description

Definition at line 22 of file BONExtender/Rep/Sheet.h.


Member Typedef Documentation

typedef std::vector<Any*>::iterator Sheet::Any_Iterator [protected]

Definition at line 67 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<Any*>::iterator Sheet::Any_Iterator [protected]

Definition at line 65 of file BONExtender/Rep/Sheet.h.

typedef std::vector<AspectRep*>::iterator Sheet::AspectRep_Iterator [protected]

Definition at line 78 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<AtomRep*>::iterator Sheet::AtomRep_Iterator [protected]

Definition at line 70 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<AtomRep*>::iterator Sheet::AtomRep_Iterator [protected]

Definition at line 68 of file BONExtender/Rep/Sheet.h.

typedef std::vector<AttributeRep*>::iterator Sheet::AttributeRep_Iterator [protected]

Definition at line 81 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<AttributeRep*>::iterator Sheet::AttributeRep_Iterator [protected]

Definition at line 76 of file BONExtender/Rep/Sheet.h.

typedef std::vector<ConnectionRep*>::iterator Sheet::ConnectionRep_Iterator [protected]

Definition at line 74 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<ConnectionRep*>::iterator Sheet::ConnectionRep_Iterator [protected]

Definition at line 72 of file BONExtender/Rep/Sheet.h.

typedef std::vector<ConstraintFuncRep*>::iterator Sheet::ConstraintFuncRep_Iterator [protected]

Definition at line 80 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<ConstraintRep*>::iterator Sheet::ConstraintRep_Iterator [protected]

Definition at line 79 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FCO*>::const_iterator Sheet::FCO_ConstIterator [protected]

Definition at line 83 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FCO*>::iterator Sheet::FCO_Iterator [protected]

Definition at line 66 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FCO*>::iterator Sheet::FCO_Iterator [protected]

Definition at line 64 of file BONExtender/Rep/Sheet.h.

typedef std::vector<FcoRep*>::iterator Sheet::FcoRep_Iterator [protected]

Definition at line 69 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FcoRep*>::iterator Sheet::FcoRep_Iterator [protected]

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

typedef std::vector<FolderRep*>::const_iterator Sheet::FolderRep_ConstIterator [protected]

Definition at line 84 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FolderRep*>::iterator Sheet::FolderRep_Iterator [protected]

Definition at line 77 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<FolderRep*>::iterator Sheet::FolderRep_Iterator [protected]

Definition at line 75 of file BONExtender/Rep/Sheet.h.

typedef std::vector<ModelRep*>::iterator Sheet::ModelRep_Iterator [protected]

Definition at line 72 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<ModelRep*>::iterator Sheet::ModelRep_Iterator [protected]

Definition at line 70 of file BONExtender/Rep/Sheet.h.

typedef std::vector<ReferenceRep*>::iterator Sheet::ReferenceRep_Iterator [protected]

Definition at line 75 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<ReferenceRep*>::iterator Sheet::ReferenceRep_Iterator [protected]

Definition at line 73 of file BONExtender/Rep/Sheet.h.

typedef std::vector<SetRep*>::iterator Sheet::SetRep_Iterator [protected]

Definition at line 76 of file MetaInterpreter/Rep/Sheet.h.

typedef std::vector<SetRep*>::iterator Sheet::SetRep_Iterator [protected]

Definition at line 74 of file BONExtender/Rep/Sheet.h.


Constructor & Destructor Documentation

Sheet::Sheet (  )  [protected]

Definition at line 13 of file BONExtender/Rep/Sheet.cpp.

Sheet::~Sheet (  )  [virtual]

Definition at line 33 of file BONExtender/Rep/Sheet.cpp.

Sheet::Sheet (  )  [protected]
virtual Sheet::~Sheet (  )  [virtual]

Member Function Documentation

void Sheet::addAny ( Any ptr  )  [protected]
void Sheet::addAny ( Any ptr  )  [protected]
void Sheet::addAspectRep ( AspectRep ptr  )  [protected]

Definition at line 424 of file MetaInterpreter/Rep/Sheet.cpp.

void Sheet::addAtomRep ( AtomRep ptr  )  [protected]
void Sheet::addAtomRep ( AtomRep ptr  )  [protected]

Definition at line 315 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addAttributeRep ( AttributeRep ptr  )  [protected]
void Sheet::addAttributeRep ( AttributeRep ptr  )  [protected]

Definition at line 351 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addConnectionRep ( ConnectionRep ptr  )  [protected]
void Sheet::addConnectionRep ( ConnectionRep ptr  )  [protected]

Definition at line 327 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addConstraintFuncRep ( ConstraintFuncRep ptr  )  [protected]

Definition at line 442 of file MetaInterpreter/Rep/Sheet.cpp.

void Sheet::addConstraintRep ( ConstraintRep ptr  )  [protected]

Definition at line 436 of file MetaInterpreter/Rep/Sheet.cpp.

void Sheet::addFcoRep ( FcoRep ptr  )  [protected]
void Sheet::addFcoRep ( FcoRep ptr  )  [protected]

Definition at line 309 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addFolderRep ( FolderRep ptr  )  [protected]
void Sheet::addFolderRep ( FolderRep ptr  )  [protected]

Definition at line 345 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addModelRep ( ModelRep ptr  )  [protected]
void Sheet::addModelRep ( ModelRep ptr  )  [protected]

Definition at line 321 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addReferenceRep ( ReferenceRep ptr  )  [protected]
void Sheet::addReferenceRep ( ReferenceRep ptr  )  [protected]

Definition at line 333 of file BONExtender/Rep/Sheet.cpp.

void Sheet::addSetRep ( SetRep ptr  )  [protected]
void Sheet::addSetRep ( SetRep ptr  )  [protected]

Definition at line 339 of file BONExtender/Rep/Sheet.cpp.

virtual bool Sheet::build (  )  [pure virtual]

Implemented in Dumper, and Dumper.

virtual bool Sheet::build (  )  [pure virtual]

Implemented in Dumper, and Dumper.

static bool Sheet::checkInstance (  )  [inline, static]

Definition at line 34 of file MetaInterpreter/Rep/Sheet.h.

static bool Sheet::checkInstance (  )  [inline, static]

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

AspectRep * Sheet::createAspectRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 340 of file MetaInterpreter/Rep/Sheet.cpp.

AtomRep* Sheet::createAtomRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
AtomRep * Sheet::createAtomRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 237 of file BONExtender/Rep/Sheet.cpp.

AttributeRep* Sheet::createBoolAttributeRep ( BON::FCO ptr  ) 
AttributeRep * Sheet::createBoolAttributeRep ( BON::FCO ptr  ) 

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

ConnectionRep* Sheet::createConnectionRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
ConnectionRep * Sheet::createConnectionRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 253 of file BONExtender/Rep/Sheet.cpp.

ConstraintFuncRep * Sheet::createConstraintFuncRep ( BON::FCO ptr  ) 

Definition at line 356 of file MetaInterpreter/Rep/Sheet.cpp.

ConstraintRep * Sheet::createConstraintRep ( BON::FCO ptr  ) 

Definition at line 348 of file MetaInterpreter/Rep/Sheet.cpp.

AttributeRep* Sheet::createEnumAttributeRep ( BON::FCO ptr  ) 
AttributeRep * Sheet::createEnumAttributeRep ( BON::FCO ptr  ) 

Definition at line 293 of file BONExtender/Rep/Sheet.cpp.

FcoRep* Sheet::createFcoRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
FcoRep * Sheet::createFcoRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 229 of file BONExtender/Rep/Sheet.cpp.

AttributeRep* Sheet::createFieldAttributeRep ( BON::FCO ptr  ) 
AttributeRep * Sheet::createFieldAttributeRep ( BON::FCO ptr  ) 

Definition at line 301 of file BONExtender/Rep/Sheet.cpp.

FolderRep* Sheet::createFolderRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
FolderRep * Sheet::createFolderRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 277 of file BONExtender/Rep/Sheet.cpp.

ModelRep* Sheet::createModelRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
ModelRep * Sheet::createModelRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 245 of file BONExtender/Rep/Sheet.cpp.

ReferenceRep* Sheet::createReferenceRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
ReferenceRep * Sheet::createReferenceRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 269 of file BONExtender/Rep/Sheet.cpp.

SetRep* Sheet::createSetRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)
SetRep * Sheet::createSetRep ( BON::FCO ptr,
BON::FCO resp_ptr 
)

Definition at line 261 of file BONExtender/Rep/Sheet.cpp.

virtual bool Sheet::finalize (  )  [virtual]
bool Sheet::finalize (  )  [virtual]

Definition at line 134 of file BONExtender/Rep/Sheet.cpp.

Any* Sheet::findAny ( const BON::FCO ptr  ) 
Any * Sheet::findAny ( const BON::FCO ptr  ) 

Definition at line 419 of file BONExtender/Rep/Sheet.cpp.

FCO* Sheet::findFCO ( const BON::FCO ptr  ) 
FCO * Sheet::findFCO ( const BON::FCO ptr  ) 

This method returns a pointer Since the container consists of pointers to FCO the iterator is a pointer to an FCO pointer it has FCO** type *it has FCO* type the same refers to the methods below

Definition at line 366 of file BONExtender/Rep/Sheet.cpp.

ReferenceRep* Sheet::findRef ( const BON::FCO ptr  ) 
ReferenceRep * Sheet::findRef ( const BON::FCO ptr  ) 

Definition at line 407 of file BONExtender/Rep/Sheet.cpp.

std::string Sheet::getNamespace (  )  [inline]

Definition at line 59 of file MetaInterpreter/Rep/Sheet.h.

std::string Sheet::getNamespace (  )  [inline]

Definition at line 54 of file BONExtender/Rep/Sheet.h.

std::string Sheet::getValidName (  )  [inline]

Definition at line 36 of file BONExtender/Rep/Sheet.h.

bool Sheet::makeValidNamespace ( const std::string pInName,
std::string result 
) [static]

Definition at line 792 of file MetaInterpreter/Rep/Sheet.cpp.

bool Sheet::makeValidParadigmName ( const std::string pInName,
std::string result 
) [static]

Definition at line 770 of file MetaInterpreter/Rep/Sheet.cpp.

void Sheet::setProject ( BON::Project project  ) 
void Sheet::setProject ( BON::Project project  ) 

Definition at line 121 of file BONExtender/Rep/Sheet.cpp.

std::vector< FCO * > Sheet::sortBasedOnLevels (  )  [protected]

Definition at line 763 of file BONExtender/Rep/Sheet.cpp.


Member Data Documentation

std::vector<AspectRep*> Sheet::m_aspectList [protected]

Definition at line 108 of file MetaInterpreter/Rep/Sheet.h.

std::vector< AtomRep * > Sheet::m_atomList [protected]

Definition at line 89 of file BONExtender/Rep/Sheet.h.

std::vector< AttributeRep * > Sheet::m_attributeList [protected]

Definition at line 97 of file BONExtender/Rep/Sheet.h.

Definition at line 61 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 56 of file BONExtender/Rep/Sheet.h.

std::vector< ConnectionRep * > Sheet::m_connList [protected]

Definition at line 91 of file BONExtender/Rep/Sheet.h.

Definition at line 110 of file MetaInterpreter/Rep/Sheet.h.

std::vector<ConstraintRep*> Sheet::m_constraintList [protected]

Definition at line 109 of file MetaInterpreter/Rep/Sheet.h.

std::vector< FcoRep * > Sheet::m_fcoRepList [protected]

Definition at line 88 of file BONExtender/Rep/Sheet.h.

std::vector< FolderRep * > Sheet::m_folderList [protected]

Definition at line 95 of file BONExtender/Rep/Sheet.h.

std::vector< ModelRep * > Sheet::m_modelList [protected]

Definition at line 90 of file BONExtender/Rep/Sheet.h.

int Sheet::m_numberOfCliques[FCO::NUMBER_OF_INHERITANCES] [protected]

Definition at line 62 of file BONExtender/Rep/Sheet.h.

Definition at line 118 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 119 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 116 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 115 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 117 of file MetaInterpreter/Rep/Sheet.h.

Definition at line 99 of file BONExtender/Rep/Sheet.h.

Definition at line 101 of file BONExtender/Rep/Sheet.h.

Definition at line 114 of file MetaInterpreter/Rep/Sheet.h.

std::vector< ReferenceRep * > Sheet::m_refList [protected]

Definition at line 92 of file BONExtender/Rep/Sheet.h.

Definition at line 103 of file BONExtender/Rep/Sheet.h.

std::vector< SetRep * > Sheet::m_setList [protected]

Definition at line 93 of file BONExtender/Rep/Sheet.h.

Definition at line 58 of file BONExtender/Rep/Sheet.h.

static Sheet * Sheet::m_theOnlyInstance = 0 [static, protected]

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

Definition at line 100 of file BONExtender/Rep/Sheet.h.

Definition at line 102 of file BONExtender/Rep/Sheet.h.


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