makefile::VariableRef Class Reference

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

#include <VariableRef.h>

Inheritance diagram for makefile::VariableRef:

Inheritance graph
List of all members.

Public Member Functions

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

Private Member Functions

 VariableRef (const VariableRef &)

Private Attributes


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


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(), 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 22 Mar 2018 for Hugintrunk by  doxygen 1.4.7