Library: CppParser
Package: SymbolTable
Header: Poco/CppParser/Decl.h
Description
This class represents a simple declaration in a C++ source file. It is a base class for Function, TypeDef or Variable.
Inheritance
Direct Base Classes: Symbol
All Base Classes: Symbol
Known Derived Classes: Variable, Function, Parameter, TypeDef
Member Summary
Member Functions: declaration, toString
Inherited Functions: addDocumentation, attrs, extractName, fullName, getAccess, getAttributes, getDocumentation, getFile, getLibrary, getLineNumber, getPackage, hasAttr, id, isIdent, isPrivate, isProtected, isPublic, kind, name, nameSpace, setAccess, setAttributes, setDocumentation, setFile, setLibrary, setLineNumber, setPackage, toString
Constructors
Decl
Decl(
const std::string & decl,
NameSpace * pNameSpace
);
Creates the Decl.
Destructor
~Decl
~Decl();
Destroys the Decl.
Member Functions
declaration
const std::string & declaration() const;
Returns the declaration.
toString
std::string toString() const;
See also: Poco::CppParser::Symbol::toString()
Variables
_decl
std::string _decl;