Poco::CppParser

class Decl

File Information

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, Using or Variable.

Inheritance

Direct Base Classes: Symbol

All Base Classes: Symbol

Known Derived Classes: Parameter, TypeDef, Function, TypeAlias, Variable

Member Summary

Member Functions: declaration, toString

Inherited Functions: addDocumentation, attrs, extractName, fullName, getAccess, getAttributeList, getAttributes, getDocumentation, getFile, getLibrary, getLineNumber, getOrder, getPackage, hasAttr, id, isIdent, isPrivate, isProtected, isPublic, kind, name, nameSpace, setAccess, setAttributeList, setAttributes, setDocumentation, setFile, setLibrary, setLineNumber, setOrder, 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;

Securely control IoT edge devices from anywhere   Connect a Device