makefile::AutoVariable Class Reference

GNU Make has automatic Variables, which can not be defined and have names consisting of one special character. More...

#include <AutoVariable.h>

Inheritance diagram for makefile::AutoVariable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AutoVariable (string name)
virtual ~AutoVariable ()
virtual const string getValue ()
 Has no value, exception.
virtual const string getquotedValue ()
virtual const std::vector<
string > & 
getValues ()
virtual VariableDefgetDef ()
 Has no definition, exception.

Private Member Functions

virtual int checkStrings ()
 Automatic Variables have special names, so we omit checking.

Detailed Description

GNU Make has automatic Variables, which can not be defined and have names consisting of one special character.

Use this class to refer to such variables. http://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html#Automatic-Variables

Definition at line 39 of file AutoVariable.h.


Constructor & Destructor Documentation

makefile::AutoVariable::AutoVariable string  name  )  [inline]
 

Definition at line 44 of file AutoVariable.h.

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

Definition at line 49 of file AutoVariable.h.


Member Function Documentation

int makefile::AutoVariable::checkStrings  )  [private, virtual]
 

Automatic Variables have special names, so we omit checking.

Definition at line 30 of file AutoVariable.cpp.

VariableDef & makefile::AutoVariable::getDef  )  [virtual]
 

Has no definition, exception.

Reimplemented from makefile::Variable.

Definition at line 48 of file AutoVariable.cpp.

const string makefile::AutoVariable::getquotedValue  )  [virtual]
 

Returns:
The assembled value, quoted.

Reimplemented from makefile::Variable.

Definition at line 39 of file AutoVariable.cpp.

References getValue(), and makefile::string.

const string makefile::AutoVariable::getValue  )  [virtual]
 

Has no value, exception.

Reimplemented from makefile::Variable.

Definition at line 35 of file AutoVariable.cpp.

References makefile::string.

Referenced by getquotedValue().

const std::vector< string > & makefile::AutoVariable::getValues  )  [virtual]
 

Returns:
The value vector.

Reimplemented from makefile::Variable.

Definition at line 43 of file AutoVariable.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 31 01:25:53 2014 for Hugintrunk by  doxygen 1.3.9.1