makefile::VariableDef Class Reference

Represents the Definition of a Variable in the makefile. More...

#include <VariableDef.h>

Inheritance diagram for makefile::VariableDef:

Inheritance graph
List of all members.

Public Member Functions

 VariableDef (Variable &var)
virtual ~VariableDef ()
virtual string toString ()
 A string representation of the MakefileItem.

Private Member Functions

 VariableDef (const VariableDef &)

Private Attributes


Detailed Description

Represents the Definition of a Variable in the makefile.

On creation the object is bounded to a Variable. If an object of this type is print ed it produces a Declaration to a Variable like


Definition at line 39 of file VariableDef.h.

Constructor & Destructor Documentation

makefile::VariableDef::VariableDef const VariableDef  )  [private]

makefile::VariableDef::VariableDef Variable var  )  [inline]

Definition at line 44 of file VariableDef.h.

virtual makefile::VariableDef::~VariableDef  )  [inline, virtual]

Definition at line 50 of file VariableDef.h.

Member Function Documentation

string makefile::VariableDef::toString  )  [virtual]

A string representation of the MakefileItem.

Implements makefile::MakefileItem.

Definition at line 32 of file VariableDef.cpp.

References cstr, makefile::Variable::getExport(), makefile::Variable::getName(), makefile::Variable::getquotedValue(), makefile::string, and variable.

Member Data Documentation

Variable& makefile::VariableDef::variable [private]

Definition at line 41 of file VariableDef.h.

Referenced by toString().

The documentation for this class was generated from the following files:
Generated on Wed Jul 16 01:25:52 2014 for Hugintrunk by  doxygen