Poco::CppParser

class Decl

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: Function, Parameter, Variable, 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 virtual

~Decl();

Destroys the Decl.

Member Functions

declaration inline

const std::string & declaration() const;

Returns the declaration.

toString virtual

std::string toString() const;

Variables

_decl protected

std::string _decl;