rtop
|
data structure that defines type of entry from which panel menu entries obtain their c-string data More...
#include <info.h>
Public Member Functions | |
InfoProc (T v) | |
InfoProc constructor. Initializes InfoProc with provided value. More... | |
T | Val () |
returns stored value More... | |
void | setVal (T v) |
sets value More... | |
const char * | longDesc () |
const char * | shortDesc () |
returns c-string corresponding to stored value. wasteful, as performs conversion everytime More... | |
Private Attributes | |
T | val |
std::string | shortdesc |
string representation of value More... | |
Friends | |
bool | operator<= (const InfoProc< std::string > &, const InfoProc< std::string > &) |
overloaded <= operator for comparing two InfoProc objects More... | |
template<typename J > | |
std::ostream & | operator<< (std::ostream &, const InfoProc< J > &) |
data structure that defines type of entry from which panel menu entries obtain their c-string data
template type and thus capable to holding any type - int, float, string etc provide API to access stored value as c-string
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |