public interface FML
FmlKey, 
FldTbl, 
mkfldclass| Modifier and Type | Field and Description | 
|---|---|
static int | 
FLD_BOOL
A field of type boolean - Object: 
 | 
static int | 
FLD_CARRAY
A field of type carray - Object: byte[] 
 | 
static int | 
FLD_CHAR
A field of type char - Object: Character 
 | 
static int | 
FLD_DECIMAL
A field of type decimal - Object: 
 | 
static int | 
FLD_DOUBLE
A field of type double - Object: Double 
 | 
static int | 
FLD_FLOAT
A field of type float - Object: Float 
 | 
static int | 
FLD_FML32
An FML32 buffer field - Object: TypedFML32 
 | 
static int | 
FLD_INT
A field of type int - Object: 
 | 
static int | 
FLD_LDOUBLE
A field of type long double - Object: 
 | 
static int | 
FLD_LLONG
A field of type long long - Object: 
 | 
static int | 
FLD_LONG
A field of type long - Object: Integer 
 | 
static int | 
FLD_MBSTRING
A MBSTRING buffer field - Object: TypedMBString 
 | 
static int | 
FLD_PTR
A TypedBuffer field - Object: TypedBuffer 
 | 
static int | 
FLD_SCHAR
A field of type signed char - Object: 
 | 
static int | 
FLD_SHORT
A field of type short - Object: Short 
 | 
static int | 
FLD_STRING
A field of type string - Object: String 
 | 
static int | 
FLD_UCHAR
A field of type unsigned char - Object: 
 | 
static int | 
FLD_UINT
A field of type unsigned int - Object: 
 | 
static int | 
FLD_ULLONG
A field of type unsigned long long - Object: 
 | 
static int | 
FLD_USHORT
A field of type unsigned short - Object: 
 | 
static int | 
FLD_VIEW32
A VIEW32 buffer field - Object: 
 | 
static int | 
FLD_WCHAR
A field of type wchar - Object: 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Fchg(FmlKey key,
    Object value)
Adds the given object, whose field id is contained in key to the
 fielded buffer. 
 | 
void | 
Fchg(int fldid,
    int occurance,
    Object value)
Adds the given object. 
 | 
void | 
Fdel(FmlKey key)
Delete given key from fielded buffer. 
 | 
void | 
Fdel(int fldid,
    int occurance)
Delete given element from fielded buffer. 
 | 
Object | 
Fget(FmlKey key)
Retrieves a copy of the object stored in the FML buffer of the
 given field id and occurance number. 
 | 
Object | 
Fget(int fldid,
    int occurance)
Retrieves a copy of the object stored in the FML buffer of the
 given field id and occurance number. 
 | 
Iterator | 
Fiterator()
Returns an iterator for the start of the fielded FML buffer. 
 | 
int | 
Fldid(String name)
Returns the field id corresponding to the given name. 
 | 
int | 
Fldno(int fldid)
Given a fieldid, this returns the field number 
 | 
int | 
Fldtype(int fldid)
Given a fieldid, this returns the field type 
 | 
String | 
Fname(int fldid)
Returns the string that matches the given fieldid. 
 | 
int | 
Foccur(int fldid)
Returns the number of occurences of the field specified by fldid 
 | 
int | 
Fused()
Returns the amount of space that this FML buffer will take when present 
 | 
FldTbl[] | 
getFieldTables()
gets the current list of FldTbls that are being used by this
 TypedFML object to do FldId/String mappings. 
 | 
void | 
setFieldTables(FldTbl[] tables)
This function sets the list of FldTbl objects that can be used for
 FldId/String mappings 
 | 
static final int FLD_SHORT
static final int FLD_LONG
static final int FLD_CHAR
static final int FLD_FLOAT
static final int FLD_DOUBLE
static final int FLD_STRING
static final int FLD_CARRAY
static final int FLD_INT
static final int FLD_DECIMAL
static final int FLD_PTR
static final int FLD_FML32
static final int FLD_VIEW32
static final int FLD_MBSTRING
static final int FLD_BOOL
static final int FLD_UCHAR
static final int FLD_SCHAR
static final int FLD_WCHAR
static final int FLD_UINT
static final int FLD_LLONG
static final int FLD_ULLONG
static final int FLD_LDOUBLE
static final int FLD_USHORT
void setFieldTables(FldTbl[] tables)
tables - The list of tables to use for FldId/String mappingsFldTblFldTbl[] getFieldTables()
int Fldno(int fldid)
fldid - The field id from which to extract the field numberint Fldtype(int fldid)
fldid - The field id from which to extract the field typevoid Fchg(FmlKey key, Object value) throws Ferror
void Fchg(int fldid,
          int occurance,
          Object value)
   throws Ferror
fldid - The fieldid to add to this bufferoccurance - The occurance number of the field to addvalue - The element to add to the buffer.  Note that this object
 must match the type of object expected by the field type, or an
 invalid cast exception will be thrownFerror - usually if space is lowFmlKeyObject Fget(FmlKey key) throws Ferror
key - the field id and occurance number of the element to retrieveFerror - if the object is not found in the buffer among other reasonsObject Fget(int fldid, int occurance) throws Ferror
fldid - The field id of the element to retrieveoccurance - The occurance number of the element to retrieveFerror - if the object is not found in the buffer among other reasonsIterator Fiterator() throws Ferror
Ferrorint Foccur(int fldid)
fldid - the field id to look for in the fielded FML buffervoid Fdel(FmlKey key) throws Ferror
key - The field id and occurance of the element to be removedFerror - if the element is not in the buffer among other reasonsvoid Fdel(int fldid,
          int occurance)
   throws Ferror
fldid - The field id of the element to be removedoccurance - The occurance of the element to be removedFerror - if the element is not in the buffer among other reasonsString Fname(int fldid) throws Ferror
fldid - The field id to map to a stringFerror - if the name cannot be foundint Fldid(String name) throws Ferror
name - the name of the field we are trying to findinteger field idFerror - if the field id cannot be found