CppParser
|
Factory class to create various CppObj instances. More...
#include <cppobjfactory.h>
Public Member Functions | |
virtual CppCompound * | CreateCompound (std::string name, CppAccessType accessType, CppCompoundType type) const |
virtual CppCompound * | CreateCompound (CppAccessType accessType, CppCompoundType type=CppCompoundType::kUnknownCompound) const |
virtual CppCompound * | CreateCompound (std::string name, CppCompoundType type) const |
virtual CppCompound * | CreateCompound (CppCompoundType type) const |
virtual CppConstructor * | CreateConstructor (CppAccessType accessType, std::string name, CppParamVector *params, CppMemInits memInits, unsigned int attr) const |
virtual CppDestructor * | CreateDestructor (CppAccessType accessType, std::string name, unsigned int attr) const |
virtual CppFunction * | CreateFunction (CppAccessType accessType, std::string name, CppVarType *retType, CppParamVector *params, unsigned int attr) const |
virtual CppTypeConverter * | CreateTypeConverter (CppVarType *type, std::string name) const |
Factory class to create various CppObj instances.
Ideally this factory class should be used to create any CppObj object so that clients of CppParser can supply its own type. At present creation of only few are added as per the requirement of CIB, https://github.com/satya-das/cib.
Definition at line 36 of file cppobjfactory.h.
|
virtual |
|
virtual |
Definition at line 41 of file cppobjfactory.cpp.
|
virtual |
Definition at line 26 of file cppobjfactory.cpp.
|
virtual |
|
virtual |
Definition at line 46 of file cppobjfactory.cpp.
|
virtual |
Definition at line 55 of file cppobjfactory.cpp.
|
virtual |
Definition at line 60 of file cppobjfactory.cpp.
|
virtual |
Definition at line 69 of file cppobjfactory.cpp.