makefile::VariableRef Class Reference

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

#include <VariableRef.h>

Inheritance diagram for makefile::VariableRef:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Private Member Functions

 VariableRef (const VariableRef &)

Private Attributes

Variablevariable

Detailed Description

Represents the Reference 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 Reference to a Variable like

 $(VAR) 

Definition at line 39 of file VariableRef.h.


Constructor & Destructor Documentation

makefile::VariableRef::VariableRef const VariableRef  )  [private]
 

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

Definition at line 44 of file VariableRef.h.

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

Definition at line 50 of file VariableRef.h.


Member Function Documentation

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

A string representation of the MakefileItem.

Implements makefile::MakefileItem.

Definition at line 32 of file VariableRef.cpp.

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

Referenced by makefile::Rule::addPrereq(), makefile::Rule::addTarget(), createfiles_make(), tryall(), trycond(), trymakefile(), and tryrule().


Member Data Documentation

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

Definition at line 41 of file VariableRef.h.

Referenced by toString().


The documentation for this class was generated from the following files:
Generated on Tue Sep 16 01:25:50 2014 for Hugintrunk by  doxygen 1.3.9.1