VariableContent Class Reference
#include <varabled.h>
List of all members.
Detailed Description
A rather hackish helper structure which can take any kind of variable input (defined by VarType) and do a couple of common operations on them, like comparisond or getting its value. It is used in the context of the VariablesEditor as a bridge from the internal tesseract variables to the ones displayed by the ScrollView server.
Constructor & Destructor Documentation
VariableContent::VariableContent |
( |
|
) |
[inline] |
Constructors for the various VarTypes.
Member Function Documentation
int VariableContent::Compare |
( |
const void * |
v1, |
|
|
const void * |
v2 | |
|
) |
| | [static] |
Compare two VC objects by their name.
const char * VariableContent::GetDescription |
( |
|
) |
const |
int VariableContent::GetId |
( |
|
) |
[inline] |
const char * VariableContent::GetName |
( |
|
) |
const |
const char * VariableContent::GetValue |
( |
|
) |
const |
VariableContent * VariableContent::GetVariableContentById |
( |
int |
id |
) |
[static] |
Gets a VC object identified by its ID.
bool VariableContent::HasChanged |
( |
|
) |
[inline] |
void VariableContent::SetValue |
( |
const char * |
val |
) |
|
The documentation for this class was generated from the following files: