Dumper Class Reference

#include <Dumper.h>

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

List of all members.

Public Member Functions

virtual ~Dumper ()
bool build ()
virtual ~Dumper ()
bool build ()

Static Public Member Functions

static SheetgetInstance ()
static int selectOutputFiles (const std::string &proj_name, BON::RegistryNode &optionsRegnode)
static int backup (const std::string &file_name)
static void getGlobalUserParts (std::string &up1, std::string &up2)
static std::string xmlFilter (const std::string &in)
static SheetgetInstance ()
static std::string makeValidFileName (const std::string &pInFile)
static int selectOutputFiles (const BON::Project &, const std::string &proj_name, const std::string &project_path)
static int selectOptions (const BON::Project &)
static void registerIt (const std::string &f_name)
static bool doParseCardinality (const std::string &cardinality, const std::string &target, const std::string &contextDesc, std::string &expr)
static std::string xmlFilter (const std::string &in)

Static Public Attributes

static const char * m_strBonExtenderOptions = "BonExtender_Options"
static const char * Yes_Str = "yes"
static const char * Only_Str = "only"
static const char * No_Str = "no"
static const char * m_strGenVisitor = "GenerateVisitor"
static const char * m_strVisitorSignature = "VisitorSignature"
static const char * m_strGenInitMethod = "GenerateInitMethod"
static const char * m_strGenFiniMethod = "GenerateFiniMethod"
static const char * m_strGenAcceptWithTraversal = "GenerateAcceptMethodWithTraversal"
static const char * m_strGenAcceptSpecialized = "GenerateAcceptMethodSpecialized"
static const char * m_strSpecAcceptRetVal = "SpecializedAcceptReturnValue"
static const char * m_strVCVersion6 = "VCVersion6"
static const char * m_strTemplateGetter = "TemplateGetter"
static const char * m_strOutputInSeparateFile = "OutputInSeparateFile"
static const char * m_strTgtNamespace = "GenerateElementsIntoNamespace"
static bool m_bParsePrev = false
static bool m_bGenInit = false
static bool m_bGenFinalize = false
static bool m_bGenAcceptTrave = false
static bool m_bGenAcceptSpeci = false
static bool m_bGenTemplates = false
static bool m_bGenTemplVersion6 = true
static bool m_bGenRegular = true
static int m_iVisitSign = 0
static int m_iSpecAcceptRetVal = 0
static bool m_bGenVisitor = false
static bool m_bSafetyBackup = true

Protected Member Functions

 Dumper ()
void inheritMoReSeCoFolAsp ()
void showMultipleInheritance ()
void selConf (std::vector< FCO * > &s)
void createMethods ()
void dumpGlobals (std::vector< FCO * > &s)
void dumpGlobalMOF ()
void dumpMain (std::vector< FCO * > &s)
void doDump ()
void initOutFiles (std::vector< FCO * > &s, std::string &resu)
void finiOutFiles (std::vector< FCO * > &s)
bool checkAll ()
bool checkAllFCOs ()
bool checkOrphanAttributes ()
bool findInFolders (FCO *fco)
std::string getNamespaceName ()
void fetchConfigurationNames (std::vector< std::string > &res)
 Dumper ()
void createConstraints ()
void inheritMoReSeCoFolAsp ()
void inheritAspConsAttr ()
void doAspectPartsMap ()
void doDump ()
bool sortPtrs ()
bool aspectOrderSel ()
bool am ()
bool checkUniqueAspectNames ()
bool checkAll ()
bool checkRootFolder () const
bool checkAllFCOs ()
bool checkOrphanAttributes ()
bool checkEmptyFolders () const
bool findInFolders (FCO *fco)
void findMaxOfMetaRefs ()
void inheritConstraintsAndAttributes (FCO *ptr, FCO *c_ptr)
std::vector< AspectRep * > findAspectBasedOnName (const std::string &name_to_find) const

Detailed Description

Definition at line 8 of file BONExtender/Rep/Dumper.h.


Constructor & Destructor Documentation

Dumper::Dumper (  )  [protected]

Definition at line 60 of file BONExtender/Rep/Dumper.cpp.

Dumper::~Dumper (  )  [virtual]

Definition at line 65 of file BONExtender/Rep/Dumper.cpp.

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

Member Function Documentation

bool Dumper::am (  )  [protected]

Definition at line 325 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::aspectOrderSel (  )  [protected]

Definition at line 1378 of file MetaInterpreter/Rep/Dumper.cpp.

int Dumper::backup ( const std::string file_name  )  [static]

Definition at line 646 of file BONExtender/Rep/Dumper.cpp.

bool Dumper::build (  )  [virtual]

Implements Sheet.

bool Dumper::build (  )  [virtual]

Implements Sheet.

Definition at line 635 of file BONExtender/Rep/Dumper.cpp.

bool Dumper::checkAll (  )  [protected]
bool Dumper::checkAll (  )  [protected]

Definition at line 1127 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::checkAllFCOs (  )  [protected]
bool Dumper::checkAllFCOs (  )  [protected]

Definition at line 1184 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::checkEmptyFolders (  )  const [protected]

Definition at line 1152 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::checkOrphanAttributes (  )  [protected]
bool Dumper::checkOrphanAttributes (  )  [protected]

Definition at line 1168 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::checkRootFolder (  )  const [protected]

Definition at line 1141 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::checkUniqueAspectNames (  )  [protected]

Definition at line 1357 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::createConstraints (  )  [protected]

Definition at line 819 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::createMethods (  )  [protected]

Definition at line 124 of file BONExtender/Rep/Dumper.cpp.

void Dumper::doAspectPartsMap (  )  [protected]

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

void Dumper::doDump (  )  [protected]
void Dumper::doDump (  )  [protected]

Definition at line 390 of file BONExtender/Rep/Dumper.cpp.

bool Dumper::doParseCardinality ( const std::string cardinality,
const std::string target,
const std::string contextDesc,
std::string expr 
) [static]

Definition at line 1521 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::dumpGlobalMOF (  )  [protected]

Definition at line 303 of file BONExtender/Rep/Dumper.cpp.

void Dumper::dumpGlobals ( std::vector< FCO * > &  s  )  [protected]

Definition at line 266 of file BONExtender/Rep/Dumper.cpp.

void Dumper::dumpMain ( std::vector< FCO * > &  s  )  [protected]

Definition at line 284 of file BONExtender/Rep/Dumper.cpp.

void Dumper::fetchConfigurationNames ( std::vector< std::string > &  res  )  [protected]

Definition at line 552 of file BONExtender/Rep/Dumper.cpp.

std::vector< AspectRep * > Dumper::findAspectBasedOnName ( const std::string name_to_find  )  const [protected]

Definition at line 802 of file MetaInterpreter/Rep/Dumper.cpp.

bool Dumper::findInFolders ( FCO fco  )  [protected]
bool Dumper::findInFolders ( FCO fco  )  [protected]

Definition at line 70 of file BONExtender/Rep/Dumper.cpp.

void Dumper::findMaxOfMetaRefs (  )  [protected]

Definition at line 1292 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::finiOutFiles ( std::vector< FCO * > &  s  )  [protected]

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

void Dumper::getGlobalUserParts ( std::string up1,
std::string up2 
) [static]

Definition at line 811 of file BONExtender/Rep/Dumper.cpp.

static Sheet* Dumper::getInstance (  )  [static]
Sheet * Dumper::getInstance (  )  [static]

Definition at line 49 of file BONExtender/Rep/Dumper.cpp.

std::string Dumper::getNamespaceName (  )  [protected]

Definition at line 116 of file BONExtender/Rep/Dumper.cpp.

void Dumper::inheritAspConsAttr (  )  [protected]

Definition at line 207 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::inheritConstraintsAndAttributes ( FCO ptr,
FCO c_ptr 
) [protected]

Definition at line 197 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::inheritMoReSeCoFolAsp (  )  [protected]
void Dumper::inheritMoReSeCoFolAsp (  )  [protected]

Definition at line 79 of file BONExtender/Rep/Dumper.cpp.

void Dumper::initOutFiles ( std::vector< FCO * > &  s,
std::string resu 
) [protected]

Definition at line 324 of file BONExtender/Rep/Dumper.cpp.

std::string Dumper::makeValidFileName ( const std::string pInFile  )  [static]

Definition at line 1655 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::registerIt ( const std::string f_name  )  [static]

Definition at line 1771 of file MetaInterpreter/Rep/Dumper.cpp.

void Dumper::selConf ( std::vector< FCO * > &  s  )  [protected]

Definition at line 571 of file BONExtender/Rep/Dumper.cpp.

int Dumper::selectOptions ( const BON::Project proj  )  [static]

Definition at line 1720 of file MetaInterpreter/Rep/Dumper.cpp.

int Dumper::selectOutputFiles ( const BON::Project proj,
const std::string proj_name,
const std::string project_path 
) [static]

Definition at line 1669 of file MetaInterpreter/Rep/Dumper.cpp.

int Dumper::selectOutputFiles ( const std::string proj_name,
BON::RegistryNode optionsRegnode 
) [static]

Definition at line 667 of file BONExtender/Rep/Dumper.cpp.

void Dumper::showMultipleInheritance (  )  [protected]

Definition at line 512 of file BONExtender/Rep/Dumper.cpp.

bool Dumper::sortPtrs (  )  [protected]

Definition at line 1335 of file MetaInterpreter/Rep/Dumper.cpp.

static std::string Dumper::xmlFilter ( const std::string in  )  [static]
std::string Dumper::xmlFilter ( const std::string in  )  [static]

Definition at line 897 of file BONExtender/Rep/Dumper.cpp.


Member Data Documentation

bool Dumper::m_bGenAcceptSpeci = false [static]

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

bool Dumper::m_bGenAcceptTrave = false [static]

Definition at line 43 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bGenFinalize = false [static]

Definition at line 42 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bGenInit = false [static]

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

bool Dumper::m_bGenRegular = true [static]

Definition at line 47 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bGenTemplates = false [static]

Definition at line 45 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bGenTemplVersion6 = true [static]

Definition at line 46 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bGenVisitor = false [static]

Definition at line 50 of file BONExtender/Rep/Dumper.h.

bool Dumper::m_bParsePrev = false [static]

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

bool Dumper::m_bSafetyBackup = true [static]

Definition at line 51 of file BONExtender/Rep/Dumper.h.

int Dumper::m_iSpecAcceptRetVal = 0 [static]

Definition at line 49 of file BONExtender/Rep/Dumper.h.

int Dumper::m_iVisitSign = 0 [static]

Definition at line 48 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strBonExtenderOptions = "BonExtender_Options" [static]

Definition at line 10 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strGenAcceptSpecialized = "GenerateAcceptMethodSpecialized" [static]

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

const char * Dumper::m_strGenAcceptWithTraversal = "GenerateAcceptMethodWithTraversal" [static]

Definition at line 18 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strGenFiniMethod = "GenerateFiniMethod" [static]

Definition at line 17 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strGenInitMethod = "GenerateInitMethod" [static]

Definition at line 16 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strGenVisitor = "GenerateVisitor" [static]

Definition at line 14 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strOutputInSeparateFile = "OutputInSeparateFile" [static]

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

const char * Dumper::m_strSpecAcceptRetVal = "SpecializedAcceptReturnValue" [static]

Definition at line 20 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strTemplateGetter = "TemplateGetter" [static]

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

const char * Dumper::m_strTgtNamespace = "GenerateElementsIntoNamespace" [static]

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

const char * Dumper::m_strVCVersion6 = "VCVersion6" [static]

Definition at line 21 of file BONExtender/Rep/Dumper.h.

const char * Dumper::m_strVisitorSignature = "VisitorSignature" [static]

Definition at line 15 of file BONExtender/Rep/Dumper.h.

const char * Dumper::No_Str = "no" [static]

Definition at line 13 of file BONExtender/Rep/Dumper.h.

const char * Dumper::Only_Str = "only" [static]

Definition at line 12 of file BONExtender/Rep/Dumper.h.

const char * Dumper::Yes_Str = "yes" [static]

Definition at line 11 of file BONExtender/Rep/Dumper.h.


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