ToolMap
Loading...
Searching...
No Matches
ProjectDefMemoryFieldsCodedVal Class Reference

Storing coded val linked to a field in memory. More...

#include <projectdefmemory.h>

Public Member Functions

 ProjectDefMemoryFieldsCodedVal (const wxString &code, const wxString &desc)
 
ProjectDefMemoryFieldsCodedValoperator= (const ProjectDefMemoryFieldsCodedVal &source)
 Copy fields coded values.
 

Static Public Member Functions

static int ExtractCodedValuesFromString (const wxString &codedvalue, wxArrayString &results)
 Tokenize coded values.
 

Public Attributes

long m_ValueID
 
wxString m_ValueCode
 
wxString m_ValueName
 

Detailed Description

Storing coded val linked to a field in memory.

This class is used for storing coded values allowed in a field. It is used inside a PrjMemFieldCodedValArray.

Author
Lucien Schreiber (c) CREALP 2007
Date
11 January 2008

Member Function Documentation

◆ ExtractCodedValuesFromString()

int ProjectDefMemoryFieldsCodedVal::ExtractCodedValuesFromString ( const wxString &  codedvalue,
wxArrayString &  results 
)
static

Tokenize coded values.

Convert from a string containing concateneted coded values to a wxArrayString

Parameters
codedvaluethe original string with all values concateneted
resultsa wxArrayString containing all extracted coded values
Returns
the number of coded values found
Author
Lucien Schreiber (c) CREALP 2007
Date
17 April 2008

◆ operator=()

ProjectDefMemoryFieldsCodedVal & ProjectDefMemoryFieldsCodedVal::operator= ( const ProjectDefMemoryFieldsCodedVal source)

Copy fields coded values.

Returns
always true
Author
Lucien Schreiber (c) CREALP 2009
Date
17 March 2009

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