spdGlobals Namespace Reference


Functions

std::string intToStr (int number)
std::string intToStr (bool value)
template<class T>
std::string toString (T value)
 template function to convert to string
template<typename T>
fromString (const std::string &s)
 template function to get a value from a string
void deleteSqldebug (void)
 void insertNumber(std::string &str, int number, const char * separator);
std::vector< std::string > splitStr (const std::string &text, const std::string &delimeter)
 split string function
std::vector< std::string > getMcmVerFields ()
std::vector< std::string > getNoisyVerFields ()
const char * getDacName (int index)
 functions to get a dac number and a dac name
int getDacNumber (const char *dacName)
void saveQuerytoFile (std::string coment, std::string query)
Uint32 extractFromInt32 (Uint32 input, int offset, int bits)
 functions to pack a value in a 32 bit register and to unpack
void insertIntoInt32 (Uint32 &input, Uint32 value, int offset, int bits)
std::vector< spdDbTypesgetNoisyVerTypes ()
void insertBitsIntoArray (Uint32 *array, Uint32 data, unsigned offset, Uint32 nBits)
const char * getApiDacName (unsigned apiDac)
 returns the analog pilot name

Variables

const char sqlDebug [] = "./debug/sqlDebug.sql"


Function Documentation

void spdGlobals::deleteSqldebug ( void   ) 

void insertNumber(std::string &str, int number, const char * separator);

Uint32 spdGlobals::extractFromInt32 ( Uint32  input,
int  offset,
int  bits 
)

functions to pack a value in a 32 bit register and to unpack

template<typename T>
T spdGlobals::fromString ( const std::string &  s  )  [inline]

template function to get a value from a string

const char * spdGlobals::getApiDacName ( unsigned  apiDac  ) 

returns the analog pilot name

const char * spdGlobals::getDacName ( int  index  ) 

functions to get a dac number and a dac name

int spdGlobals::getDacNumber ( const char *  dacName  ) 

std::vector< std::string > spdGlobals::getMcmVerFields (  ) 

std::vector< std::string > spdGlobals::getNoisyVerFields (  ) 

std::vector< spdDbTypes > spdGlobals::getNoisyVerTypes (  ) 

void spdGlobals::insertBitsIntoArray ( Uint32 *  array,
Uint32  data,
unsigned  offset,
Uint32  nBits 
)

void spdGlobals::insertIntoInt32 ( Uint32 &  input,
Uint32  value,
int  offset,
int  bits 
)

std::string spdGlobals::intToStr ( bool  value  ) 

std::string spdGlobals::intToStr ( int  number  ) 

void spdGlobals::saveQuerytoFile ( std::string  coment,
std::string  query 
)

std::vector< std::string > spdGlobals::splitStr ( const std::string &  text,
const std::string &  delimeter 
)

split string function

template<class T>
std::string spdGlobals::toString ( value  )  [inline]

template function to convert to string


Variable Documentation

const char spdGlobals::sqlDebug[] = "./debug/sqlDebug.sql"


Generated on Tue Dec 1 12:09:53 2009 for SPD FED Server by  doxygen 1.5.4