DataTip parameters. More...
#include <gre/datatip.h>
DataTip parameters.
| GRE::DATATIPPARMS::DATATIPPARMS | ( | ) |
Default constructor.
| GRE::DATATIPPARMS::DATATIPPARMS | ( | const DATATIPPARMS & | rhs | ) |
| ERRVALUE GRE::DATATIPPARMS::CheckField | ( | RVC::DBTABLE & | ObjTable | ) |
Check field name for validity in specified table.
Do string formatting with prefix/suffix.
| ostr | String to append to | |
| istr | DataTip value |
| static const SERIALIZERITEM* GRE::DATATIPPARMS::GetSerialItemDef | ( | ) | [static] |
Get serialization item definition array.
| DATATIPPARMS& GRE::DATATIPPARMS::operator= | ( | const DATATIPPARMS & | rhs | ) |
| int GRE::DATATIPPARMS::ReadString | ( | RVC::DBTABLE & | ObjTable, | |
| ELEMTYPE | ElemType, | |||
| INT32 | ElemNum, | |||
| MISTRING & | string, | |||
| SPATMOD::IMAGE::STAGE_ARRAY & | images, | |||
| RVC::DBTABLE * | pSourceTable = 0 | |||
| ) | const |
Read string from table with minimal formatting.
| ObjTable | Table to read from | |
| ElemType | Element type | |
| ElemNum | Element number | |
| string | String to append result to | |
| images | Images to insert into the string in place of {~IMG #} tags | |
| pSourceTable | Source table if required |
| int GRE::DATATIPPARMS::ReadStringFormatted | ( | RVC::DBTABLE & | ObjTable, | |
| ELEMTYPE | ElemType, | |||
| INT32 | ElemNum, | |||
| MISTRING & | string, | |||
| SPATMOD::IMAGE::STAGE_ARRAY & | images, | |||
| RVC::DBTABLE * | pSourceTable = 0 | |||
| ) | const |
Read string from table and format with prefix/suffix.
| ObjTable | Table to read from | |
| ElemType | Element type | |
| ElemNum | Element number | |
| string | String to append result to | |
| images | Images to insert into the string in place of {~IMG #} tags | |
| pSourceTable | Source table if required |
| void GRE::DATATIPPARMS::SetDefaultSuffix | ( | ) |
Set suffix to default based on unit type/shown.
Decimal places for floating-point fields.
Field name.
INT32 GRE::DATATIPPARMS::FieldNum [mutable] |
Field number.
Set to highlight element in view when datatip shown.
Set if field is numeric.
Predefined value to show.
Set if user cannot change field (eg. for RGB raster).
Label to place before value in string, defaults to table.field name.
Label to place after value in string, defaults to unit name.
Table name.
Table number.
Unit to show field in.
Field unit type, here for validation against DBFIELDINFO.
Show this DataTip.
1.6.1