Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::ProgramDefines Class Reference

#include <GteProgramDefines.h>

Public Member Functions

void Clear ()
 
std::vector< std::pair< std::string, std::string > > const & Get () const
 
 ProgramDefines ()
 
void Remove (std::string const &name)
 
void Set (std::string const &name, int value)
 
void Set (std::string const &name, unsigned int value)
 
void Set (std::string const &name, float value)
 
void Set (std::string const &name, double value)
 
void Set (std::string const &name, std::string const &value)
 

Private Member Functions

void Update (std::string const &name, std::string const &value)
 

Private Attributes

std::vector< std::pair< std::string, std::string > > mDefinitions
 

Detailed Description

Definition at line 19 of file GteProgramDefines.h.

Constructor & Destructor Documentation

ProgramDefines::ProgramDefines ( )

Definition at line 13 of file GteProgramDefines.cpp.

Member Function Documentation

void ProgramDefines::Clear ( )

Definition at line 45 of file GteProgramDefines.cpp.

std::vector< std::pair< std::string, std::string > > const & gte::ProgramDefines::Get ( ) const
inline

Definition at line 74 of file GteProgramDefines.h.

void ProgramDefines::Remove ( std::string const &  name)

Definition at line 33 of file GteProgramDefines.cpp.

void gte::ProgramDefines::Set ( std::string const &  name,
int  value 
)
inline

Definition at line 47 of file GteProgramDefines.h.

void gte::ProgramDefines::Set ( std::string const &  name,
unsigned int  value 
)
inline

Definition at line 52 of file GteProgramDefines.h.

void gte::ProgramDefines::Set ( std::string const &  name,
float  value 
)
inline

Definition at line 57 of file GteProgramDefines.h.

void gte::ProgramDefines::Set ( std::string const &  name,
double  value 
)
inline

Definition at line 62 of file GteProgramDefines.h.

void gte::ProgramDefines::Set ( std::string const &  name,
std::string const &  value 
)
inline

Definition at line 67 of file GteProgramDefines.h.

void ProgramDefines::Update ( std::string const &  name,
std::string const &  value 
)
private

Definition at line 17 of file GteProgramDefines.cpp.

Member Data Documentation

std::vector<std::pair<std::string, std::string> > gte::ProgramDefines::mDefinitions
private

Definition at line 43 of file GteProgramDefines.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06