makefile::VariableDef Class Reference

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

#include <VariableDef.h>

Inheritance diagram for makefile::VariableDef:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 VariableDef (Variable &var)
virtual ~VariableDef ()
virtual string toString ()

Private Member Functions

 VariableDef (const VariableDef &)

Private Attributes

Variablevariable

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

VAR=value 

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]

Returns:
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(), 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 23 Nov 2014 for Hugintrunk by  doxygen 1.4.7