Any Class Reference

#include <Any.h>

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

List of all members.

Public Types

enum  KIND_TYPE {
  ATOM, MODEL, CONN, SET,
  REF, FCO_REP, ASPECT, FOLDER,
  CONSTRAINT, CONSTRAINTFUNC, ATTRIBUTE, ATOM,
  MODEL, CONN, SET, REF,
  FCO_REP, ASPECT, FOLDER, CONSTRAINT,
  CONSTRAINTFUNC, ATTRIBUTE
}
enum  KIND_TYPE {
  ATOM, MODEL, CONN, SET,
  REF, FCO_REP, ASPECT, FOLDER,
  CONSTRAINT, CONSTRAINTFUNC, ATTRIBUTE, ATOM,
  MODEL, CONN, SET, REF,
  FCO_REP, ASPECT, FOLDER, CONSTRAINT,
  CONSTRAINTFUNC, ATTRIBUTE
}
typedef std::vector
< ConstraintRep * > 
ConstraintRepPtrList
typedef std::vector
< ConstraintRep * >
::const_iterator 
ConstraintRepPtrList_ConstIterator

Public Member Functions

 Any (BON::FCO &ptr)
virtual ~Any ()
virtual void initAttributes ()
void initNamespace ()
void resetNamespace ()
virtual KIND_TYPE getMyKind () const =0
std::string getMyKindStr () const
virtual std::string doDump ()=0
virtual std::string getName () const
std::string getValidName () const
std::string getValidNameImpl () const
std::string getStrictNmspc () const
std::string getNmspc () const
std::string getValidNmspc () const
std::string getLStrictName () const
std::string getLName () const
std::string getLValidName () const
std::string getLValidNameImpl () const
std::string getLStrictNmspc () const
std::string getLNmspc () const
std::string getLValidNmspc () const
BON::FCO getPtr () const
bool isInRootFolder ()
BON::Folder getParentFolder () const
void setParentFolder (const BON::Folder &writableRegFolder, const BON::Folder &nmspHolderFolder)
void setEquivPeers (const std::set< BON::FCO > &ps)
std::string getMyPrefix (int which=0) const
BON::RegistryNode getMyRegistry () const
BON::RegistryNode getMIRegistry () const
bool isFCO () const
virtual void prepare ()
virtual void prepareMacros ()
virtual void prepareIniFin ()
void prepareMOF ()
void createAcceptMethod (bool pWithTraversalOfKids, bool pSpecialized, bool pRetValBool)
void dumpGlobals ()
std::string dumpOrnament (bool is_abstract=false)
virtual void dumpPre (std::string &h_file, std::string &c_file)
virtual void dumpPost (std::string &h_file, std::string &c_file)
virtual std::string dumpClassHeader ()
std::string getUserPart ()
bool isToBeEx () const
void toBeEx (bool t)
void makeBackup ()
void initOutS ()
void initOutH (std::string &resu)
void finiOutS ()
void finiOutH ()
 Any (BON::FCO &ptr)
virtual ~Any ()
virtual void initAttributes ()
void initNamespace ()
void resetNamespace ()
std::string getNamespace () const
virtual KIND_TYPE getMyKind () const =0
std::string getMyKindStr () const
virtual std::string doDump ()=0
virtual std::string getName () const
virtual std::string getDispName () const
virtual std::string dumpDispName () const
std::string dumpGeneralPref ()
virtual std::vector< Any * > getGeneralPrefAncestors ()
std::string dumpConstraints ()
BON::FCO getPtr () const
bool isInRootFolder ()
BON::Folder getParentFolder () const
void setParentFolder (const BON::Folder &writableRegFolder, const BON::Folder &nmspHolderFolder)
void setEquivPeers (const std::set< BON::FCO > &ps)
void setDisplayedName (const std::string &dispnm)
virtual std::string getMyPrefix () const
virtual BON::RegistryNode getMyRegistry () const
BON::RegistryNode getMyRegistryOld () const
bool isFCO () const
std::string askMetaRef (const std::string &tok="") const
void addInitialConstraintRep (ConstraintRep *)
const ConstraintRepPtrListgetInitialConstraintRepPtrList () const
void addFinalConstraint (ConstraintRep *constraint)
void addFinalConstraintList (const ConstraintRepPtrList &list)

Static Public Member Functions

static void convertToValidName (std::string &p)
static bool checkIfValidName (const std::string &p)
static std::string processMOFNode (const BON::RegistryNode &n, int ind=2)
static std::string parseMOFException (const std::string &exc_str)
static std::string parseMOFOperation (const std::string &exc_str)
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 NamespaceDispSeparatorBeg_str = "_"
static const std::string NamespaceDispSeparatorEnd_str = "_"
static const std::string NamespaceDelimiter_str = "::"
static const std::string InRootFolder_str = "InRootFolder"
static const std::string NameSelectorNode_str = "myNameIs"
static const std::string m_startUPToken = "///BUP"
static const std::string m_endUPToken = "///EUP"
static const std::string MOFException_str = "MOFException"
static const std::string MOFOperation_str = "MOFOperation"
static const std::string MOFEnumeration_str = "MOFEnumeration"
static const std::string MOFStructure_str = "MOFStructure"
static const std::string MOFAlias_str = "MOFAlias"
static const std::string MOFStart_str = "MOF section begins"
static const std::string MOFEnd_str = "MOF section ends"
static const std::string KIND_TYPE_STR []
static const std::string DisplayedName_str = "DisplayedName"
static const std::string GeneralPreferences_str = "GeneralPreferences"
static const std::string DisplayedNameSelectorNode_str = "myDisplayedNameIs"

Protected Member Functions

void sendOutS (const std::string &content)
void sendOutH (const std::string &content)

Protected Attributes

std::ofstream m_sStream
std::ofstream m_hStream
BON::FCO m_ptr
BON::Folder m_parentFolder
BON::Folder m_nmspRootFolder
std::set< BON::FCOm_equivs
bool m_isInRootFolder
bool m_toEx
std::vector< Methodm_inifinMethods
std::string m_sectionMOF
std::string m_globalHeader
std::string m_globalSource
std::string m_namespace
std::string m_sAttrGenPref
std::string m_userSelectedDisplayName
ConstraintRepPtrList m_initialConstraintList
ConstraintRepPtrList m_finalConstraintList

Detailed Description

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


Member Typedef Documentation

typedef std::vector< ConstraintRep* > Any::ConstraintRepPtrList

Definition at line 63 of file MetaInterpreter/Rep/Any.h.

typedef std::vector< ConstraintRep* >::const_iterator Any::ConstraintRepPtrList_ConstIterator

Definition at line 64 of file MetaInterpreter/Rep/Any.h.


Member Enumeration Documentation

Enumerator:
ATOM 
MODEL 
CONN 
SET 
REF 
FCO_REP 
ASPECT 
FOLDER 
CONSTRAINT 
CONSTRAINTFUNC 
ATTRIBUTE 
ATOM 
MODEL 
CONN 
SET 
REF 
FCO_REP 
ASPECT 
FOLDER 
CONSTRAINT 
CONSTRAINTFUNC 
ATTRIBUTE 

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

Enumerator:
ATOM 
MODEL 
CONN 
SET 
REF 
FCO_REP 
ASPECT 
FOLDER 
CONSTRAINT 
CONSTRAINTFUNC 
ATTRIBUTE 
ATOM 
MODEL 
CONN 
SET 
REF 
FCO_REP 
ASPECT 
FOLDER 
CONSTRAINT 
CONSTRAINTFUNC 
ATTRIBUTE 

Definition at line 44 of file BONExtender/Rep/Any.h.


Constructor & Destructor Documentation

Any::Any ( BON::FCO ptr  ) 

Definition at line 64 of file BONExtender/Rep/Any.cpp.

Any::~Any (  )  [virtual]

Definition at line 75 of file BONExtender/Rep/Any.cpp.

Any::Any ( BON::FCO ptr  ) 
virtual Any::~Any (  )  [virtual]

Member Function Documentation

void Any::addFinalConstraint ( ConstraintRep constraint  ) 

Definition at line 300 of file MetaInterpreter/Rep/Any.cpp.

void Any::addFinalConstraintList ( const ConstraintRepPtrList list  ) 

Definition at line 312 of file MetaInterpreter/Rep/Any.cpp.

void Any::addInitialConstraintRep ( ConstraintRep constraint  ) 

Definition at line 282 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::askMetaRef ( const std::string tok = ""  )  const

Definition at line 244 of file MetaInterpreter/Rep/Any.cpp.

bool Any::checkIfValidName ( const std::string p  )  [static]

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

void Any::convertToValidName ( std::string p  )  [static]

Definition at line 260 of file BONExtender/Rep/Any.cpp.

void Any::createAcceptMethod ( bool  pWithTraversalOfKids,
bool  pSpecialized,
bool  pRetValBool 
)

Definition at line 418 of file BONExtender/Rep/Any.cpp.

virtual std::string Any::doDump (  )  [pure virtual]
virtual std::string Any::doDump (  )  [pure virtual]
std::string Any::dumpClassHeader (  )  [virtual]

Reimplemented in FCO.

Definition at line 624 of file BONExtender/Rep/Any.cpp.

std::string Any::dumpConstraints (  ) 

Definition at line 320 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::dumpDispName (  )  const [virtual]

Definition at line 170 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::dumpGeneralPref (  ) 

Definition at line 979 of file MetaInterpreter/Rep/FCO.cpp.

void Any::dumpGlobals (  ) 

Definition at line 568 of file BONExtender/Rep/Any.cpp.

std::string Any::dumpOrnament ( bool  is_abstract = false  ) 

Definition at line 575 of file BONExtender/Rep/Any.cpp.

void Any::dumpPost ( std::string h_file,
std::string c_file 
) [virtual]

Definition at line 604 of file BONExtender/Rep/Any.cpp.

void Any::dumpPre ( std::string h_file,
std::string c_file 
) [virtual]

Reimplemented in FCO.

Definition at line 586 of file BONExtender/Rep/Any.cpp.

void Any::finiOutH (  ) 

Definition at line 815 of file BONExtender/Rep/Any.cpp.

void Any::finiOutS (  ) 

Definition at line 807 of file BONExtender/Rep/Any.cpp.

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

Reimplemented in AspectRep, ConstraintRep, FCO, and FolderRep.

Definition at line 160 of file MetaInterpreter/Rep/Any.cpp.

virtual std::vector<Any*> Any::getGeneralPrefAncestors (  )  [inline, virtual]

Reimplemented in FCO.

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

const Any::ConstraintRepPtrList & Any::getInitialConstraintRepPtrList (  )  const

Definition at line 294 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::getLName (  )  const

Definition at line 225 of file BONExtender/Rep/Any.cpp.

std::string Any::getLNmspc (  )  const

Definition at line 205 of file BONExtender/Rep/Any.cpp.

std::string Any::getLStrictName (  )  const

Definition at line 220 of file BONExtender/Rep/Any.cpp.

std::string Any::getLStrictNmspc (  )  const

Definition at line 193 of file BONExtender/Rep/Any.cpp.

std::string Any::getLValidName (  )  const

Definition at line 236 of file BONExtender/Rep/Any.cpp.

std::string Any::getLValidNameImpl (  )  const

Definition at line 246 of file BONExtender/Rep/Any.cpp.

std::string Any::getLValidNmspc (  )  const

Definition at line 230 of file BONExtender/Rep/Any.cpp.

BON::RegistryNode Any::getMIRegistry (  )  const

Definition at line 352 of file BONExtender/Rep/Any.cpp.

virtual KIND_TYPE Any::getMyKind (  )  const [pure virtual]
virtual KIND_TYPE Any::getMyKind (  )  const [pure virtual]
std::string Any::getMyKindStr (  )  const
std::string Any::getMyKindStr (  )  const

Definition at line 251 of file BONExtender/Rep/Any.cpp.

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

Reimplemented in AspectRep.

Definition at line 228 of file MetaInterpreter/Rep/Any.cpp.

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

Reimplemented in AspectRep.

Definition at line 186 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::getMyPrefix ( int  which = 0  )  const

Definition at line 320 of file BONExtender/Rep/Any.cpp.

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

Reimplemented in AspectRep.

Definition at line 236 of file MetaInterpreter/Rep/Any.cpp.

virtual BON::RegistryNode Any::getMyRegistry (  )  const [virtual]

Reimplemented in AspectRep.

BON::RegistryNode Any::getMyRegistry (  )  const

Reimplemented in AspectRep.

Definition at line 344 of file BONExtender/Rep/Any.cpp.

BON::RegistryNode Any::getMyRegistryOld (  )  const

Definition at line 208 of file MetaInterpreter/Rep/Any.cpp.

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

Reimplemented in FCO, FolderRep, AspectRep, AttributeRep, ConstraintFuncRep, ConstraintRep, FCO, and FolderRep.

Definition at line 167 of file BONExtender/Rep/Any.cpp.

std::string Any::getNamespace (  )  const

Definition at line 104 of file MetaInterpreter/Rep/Any.cpp.

std::string Any::getNmspc (  )  const

Definition at line 198 of file BONExtender/Rep/Any.cpp.

BON::Folder Any::getParentFolder (  )  const [inline]

Definition at line 91 of file MetaInterpreter/Rep/Any.h.

BON::Folder Any::getParentFolder (  )  const [inline]

Definition at line 120 of file BONExtender/Rep/Any.h.

BON::FCO Any::getPtr (  )  const [inline]

Definition at line 87 of file MetaInterpreter/Rep/Any.h.

BON::FCO Any::getPtr (  )  const [inline]

Definition at line 117 of file BONExtender/Rep/Any.h.

std::string Any::getStrictNmspc (  )  const

Definition at line 188 of file BONExtender/Rep/Any.cpp.

std::string Any::getUserPart (  ) 

Definition at line 634 of file BONExtender/Rep/Any.cpp.

std::string Any::getValidName (  )  const

Definition at line 177 of file BONExtender/Rep/Any.cpp.

std::string Any::getValidNameImpl (  )  const

Definition at line 241 of file BONExtender/Rep/Any.cpp.

std::string Any::getValidNmspc (  )  const

Definition at line 212 of file BONExtender/Rep/Any.cpp.

virtual void Any::initAttributes (  )  [inline, virtual]

Reimplemented in FCO, ConnectionRep, FCO, FolderRep, and ModelRep.

Definition at line 71 of file MetaInterpreter/Rep/Any.h.

void Any::initAttributes (  )  [virtual]

Reimplemented in FCO, ConnectionRep, FCO, FolderRep, and ModelRep.

Definition at line 120 of file BONExtender/Rep/Any.cpp.

void Any::initNamespace (  ) 
void Any::initNamespace (  ) 

Definition at line 80 of file BONExtender/Rep/Any.cpp.

void Any::initOutH ( std::string resu  ) 

Definition at line 758 of file BONExtender/Rep/Any.cpp.

void Any::initOutS (  ) 

Definition at line 715 of file BONExtender/Rep/Any.cpp.

bool Any::isFCO (  )  const
bool Any::isFCO (  )  const

Definition at line 154 of file BONExtender/Rep/Any.cpp.

bool Any::isInRootFolder (  ) 
bool Any::isInRootFolder (  ) 

Definition at line 137 of file BONExtender/Rep/Any.cpp.

bool Any::isToBeEx (  )  const

Definition at line 142 of file BONExtender/Rep/Any.cpp.

void Any::makeBackup (  ) 

Definition at line 689 of file BONExtender/Rep/Any.cpp.

std::string Any::parseMOFException ( const std::string exc_str  )  [static]

Definition at line 425 of file BONExtender/Rep/Any.cpp.

std::string Any::parseMOFOperation ( const std::string exc_str  )  [static]

Definition at line 475 of file BONExtender/Rep/Any.cpp.

void Any::prepare (  )  [virtual]

Reimplemented in FCO.

Definition at line 560 of file BONExtender/Rep/Any.cpp.

void Any::prepareIniFin (  )  [virtual]

Definition at line 382 of file BONExtender/Rep/Any.cpp.

void Any::prepareMacros (  )  [virtual]

Reimplemented in FCO.

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

void Any::prepareMOF (  ) 

Definition at line 542 of file BONExtender/Rep/Any.cpp.

std::string Any::processMOFNode ( const BON::RegistryNode n,
int  ind = 2 
) [static]

Definition at line 494 of file BONExtender/Rep/Any.cpp.

void Any::resetNamespace (  ) 
void Any::resetNamespace (  ) 

Definition at line 114 of file BONExtender/Rep/Any.cpp.

void Any::sendOutH ( const std::string content  )  [protected]

Definition at line 824 of file BONExtender/Rep/Any.cpp.

void Any::sendOutS ( const std::string content  )  [protected]

Definition at line 840 of file BONExtender/Rep/Any.cpp.

void Any::setDisplayedName ( const std::string dispnm  )  [inline]

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

void Any::setEquivPeers ( const std::set< BON::FCO > &  ps  )  [inline]

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

void Any::setEquivPeers ( const std::set< BON::FCO > &  ps  )  [inline]

Definition at line 122 of file BONExtender/Rep/Any.h.

void Any::setParentFolder ( const BON::Folder writableRegFolder,
const BON::Folder nmspHolderFolder 
) [inline]

Definition at line 92 of file MetaInterpreter/Rep/Any.h.

void Any::setParentFolder ( const BON::Folder writableRegFolder,
const BON::Folder nmspHolderFolder 
) [inline]

Definition at line 121 of file BONExtender/Rep/Any.h.

void Any::toBeEx ( bool  t  ) 

Definition at line 148 of file BONExtender/Rep/Any.cpp.


Member Data Documentation

const std::string Any::DisplayedName_str = "DisplayedName" [static]

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

const std::string Any::DisplayedNameSelectorNode_str = "myDisplayedNameIs" [static]

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

const std::string Any::GeneralPreferences_str = "GeneralPreferences" [static]

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

static const std::string Any::InRootFolder_str = "InRootFolder" [static]

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

static const std::string Any::KIND_TYPE_STR [static]
Initial value:
{
        "Atom",
        "Model",
        "Connection",
        "Set",
        "Reference",
        "FCO",
        "ASPECT",
        "Folder",
        "CONSTRAINT",
        "CONSTRAINFUNC",
        "ATTRIBUTE"
}

Definition at line 59 of file BONExtender/Rep/Any.h.

const std::string Any::m_endUPToken = "///EUP" [static]

Definition at line 32 of file BONExtender/Rep/Any.h.

std::set< BON::FCO > Any::m_equivs [protected]

Definition at line 180 of file BONExtender/Rep/Any.h.

Definition at line 136 of file MetaInterpreter/Rep/Any.h.

Definition at line 188 of file BONExtender/Rep/Any.h.

Definition at line 189 of file BONExtender/Rep/Any.h.

std::ofstream Any::m_hStream [protected]

Definition at line 166 of file BONExtender/Rep/Any.h.

std::vector< Method > Any::m_inifinMethods [protected]

Definition at line 186 of file BONExtender/Rep/Any.h.

Definition at line 135 of file MetaInterpreter/Rep/Any.h.

bool Any::m_isInRootFolder [protected]

Definition at line 181 of file BONExtender/Rep/Any.h.

Definition at line 192 of file BONExtender/Rep/Any.h.

Definition at line 177 of file BONExtender/Rep/Any.h.

Definition at line 173 of file BONExtender/Rep/Any.h.

BON::FCO Any::m_ptr [protected]

Definition at line 170 of file BONExtender/Rep/Any.h.

Definition at line 129 of file MetaInterpreter/Rep/Any.h.

Definition at line 187 of file BONExtender/Rep/Any.h.

std::ofstream Any::m_sStream [protected]

Definition at line 165 of file BONExtender/Rep/Any.h.

const std::string Any::m_startUPToken = "///BUP" [static]

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

bool Any::m_toEx [protected]

Definition at line 184 of file BONExtender/Rep/Any.h.

Definition at line 132 of file MetaInterpreter/Rep/Any.h.

const std::string Any::MOFAlias_str = "MOFAlias" [static]

Definition at line 38 of file BONExtender/Rep/Any.h.

const std::string Any::MOFEnd_str = "MOF section ends" [static]

Definition at line 41 of file BONExtender/Rep/Any.h.

const std::string Any::MOFEnumeration_str = "MOFEnumeration" [static]

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

const std::string Any::MOFException_str = "MOFException" [static]

Definition at line 34 of file BONExtender/Rep/Any.h.

const std::string Any::MOFOperation_str = "MOFOperation" [static]

Definition at line 35 of file BONExtender/Rep/Any.h.

const std::string Any::MOFStart_str = "MOF section begins" [static]

Definition at line 40 of file BONExtender/Rep/Any.h.

const std::string Any::MOFStructure_str = "MOFStructure" [static]

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

static const std::string Any::NameSelectorNode_str = "myNameIs" [static]

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

static const std::string Any::NamespaceDelimiter_str = "::" [static]

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

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

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


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