TypedFML.Ferror Property

Contains error code to indicate error condition when a method of TypedFML fails.

public static int Ferror {     get; set; }

 

Remarks

This property can be used to get the error code when a method of TypedFML fails. Also it can be set for some purpose.

See also

ATMI FML variable Ferror

 

TypedFML Constructor Method

Initializes a new instance of the TypedFML class

public TypedFML(

long size

);

 

Remarks

This method calls the construtor of TypedBuffer to allocated an unmanaged typed buffer of type “FML” which has a size specified by argument size

 

TypedFML.F_error Method

Prints error message for last error.

public static void F_error(

string msg

);

 

Remarks

 

See also

ATMI FML function F_error

 

TypedFML.Fadd Method

Adds new field occurrence.

public void Fadd(

FLDID fieldid,

Object value,

FLDLEN len

);

public void Fadd(

FLDID fieldid,

Object value,

);

 

Remarks

 

See also

ATMI FML function Fadd

 

TypedFML.Fadds Method

Converts value from type FLD_STRING and adds to buffer.

public void Fadds(

FLDID fieldid,

string value

);

 

Remarks

 

See also

ATMI FML function Fadds

 

TypedFML.Fappend Method

Appends new field occurrence.

public void Fappend(

FLDID fieldid,

Object value,

FLDLEN len

);

public void Fappend(

FLDID fieldid,

Object value

);

 

Remarks

 

See also

ATMI FML function Fappend

 

TypedFML.Fchg Method

Changes field occurrence value.

public void Fchg(

FLDID fieldid,

FLDOCC oc,

Object value,

FLDLEN len

);

public void Fchg(

FLDID fieldid,

FLDOCC oc,

Object value,

);

 

Remarks

 

See also

ATMI FML function Fchg

 

TypedFML.Fchgs Method

Changes field occurrence - caller presents string.

public void Fchgs(

FLDID fieldid,

FLDOCC oc,

string value,

);

 

Remarks

 

See also

ATMI FML function Fchgs

 

TypedFML.Fchksum Method

Computes checksum for fielded buffer.

public long Fchksum();

 

Remarks

 

See also

ATMI FML function Fchksum

 

TypedFML.Fcmp Method

Compares two fielded buffers.

public int Fcmp(

TypedFML fml

);

 

Remarks

 

See also

ATMI FML function Fcmp

 

TypedFML.Fconcat Method

Concatenates source to destination buffer.

public void Fconcat(

TypedFML src

);

 

Remarks

 

See also

ATMI FML function Fconcat

 

TypedFML.Fcpy Method

Copies source to destination buffer.

public void Fcpy(

TypedFML src

);

 

Remarks

 

See also

ATMI FML function Fcpy

 

TypedFML.Fdel Method

Deletes field occurrence from buffer.

public void Fdel(

FLDID fieldid,

FLDOCC oc,

);

 

Remarks

 

See also

ATMI FML function Fdel

 

TypedFML.Fdelall Method

Deletes all field occurrences from buffer.

public void Fdelall(

FLDID fieldid

);

 

Remarks

 

See also

ATMI FML function Fdelall

 

TypedFML.Fextread Method

Builds fielded buffer from printed format.

public void Fextread(

FILE iop

);

 

Remarks

 

See also

ATMI FML function Fextread

 

TypedFML.Ffind Method

Finds field occurrence in buffer.

public IntPtr Ffind(

FLDID fieldid,

FLDOCC oc,

out FLDLEN len

);

 

Remarks

 

See also

ATMI FML function Ffind

 

TypedFML.Ffindlast Method

Finds last occurrence of field in buffer.

public IntPtr Ffindlast(

FLDID fieldid,

out FLDOCC oc,

out FLDLEN len

);

 

Remarks

 

See also

ATMI FML function Ffindlast

 

TypedFML.Ffindocc Method

Finds occurrence of field value.

public FLDOCC Ffindocc(

FLDID fieldid,

Object value,

FLDLEN len

);

 

Remarks

 

See also

ATMI FML function Ffindocc

 

TypedFML.Ffinds Method

Returns string representation.

public string Ffinds(

FLDID fieldid,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Ffinds

 

TypedFML.Ffprint Method

Prints fielded buffer to specified stream.

public void Ffprint(

FILE iop

);

 

Remarks

 

See also

ATMI FML function Ffprint

 

TypedFML.Fget Method

Gets copy and length of field occurrence.

public void Fget(

FLDID fieldid,

FLDOCC oc

out Object value,

);

 

Remarks

 

See also

ATMI FML function Fget

 

TypedFML.Fgetlast Method

Gets copy of last occurrence.

public void Fgetlast(

FLDID fieldid,

out FLDOCC oc

out Object value,

);

 

Remarks

 

See also

ATMI FML function Fgetlast

 

TypedFML.Fidnm_unload Method

Recovers space from id->nm mapping tables.

public static void Fidnm_unload();

 

Remarks

 

See also

ATMI FML function Fidnm_unload

 

TypedFML.Fidxused Method

Returns amount of space used.

public long Fidxused();

 

Remarks

 

See also

ATMI FML function Fidxused

 

TypedFML.Findex Method

Indexes a fielded buffer.

public void Findex(

int intvl

);

 

Remarks

 

See also

ATMI FML function Findex

 

TypedFML.Finit Method

Initializes fielded buffer.

public void Finit(

FLDLEN buflen

);

 

Remarks

 

See also

ATMI FML function Finit

 

TypedFML.Fjoin Method

Initializes fielded buffer.

public void Fjoin(

TypedFML src

);

 

Remarks

 

See also

ATMI FML function Fjoin

 

TypedFML.Fldid Method

Maps field name to field identifier.

public static FLDID Fldid(

string name

);

 

Remarks

 

See also

ATMI FML function Fldid

 

TypedFML.Fldno Method

Maps field identifier to field number.

public static int Fldno(

FLDID fieldid

);

 

Remarks

 

See also

ATMI FML function Fldno

 

 

TypedFML.Fldtype Method

Maps field identifier to field type.

public static FieldType Fldtype(

FLDID fieldid

);

 

Remarks

 

See also

ATMI FML function Fldtype

 

TypedFML.Flen Method

Returns len of field occurrence in buffer.

public int Flen(

FLDID fielded,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Flen

 

TypedFML.Fmkfldid Method

Makes a field identifier.

public static FLDID Fmkfldid(

FieldType type,

FLDID num

);

 

Remarks

 

See also

ATMI FML function Fmkfldid

 

TypedFML.Fname Method

Maps field identifier to field name.

public static string Fname(

FLDID fieldid

);

 

Remarks

 

See also

ATMI FML function Fname

 

TypedFML.Fneeded Method

Computes size needed for buffer.

public static long Fneeded(

FLDOCC num,

FLDLEN len

);

 

Remarks

 

See also

ATMI FML function Fneeded

 

TypedFML.Fnext Method

Gets next field occurrence.

public int Fnext(

ref FLDID fieldid,

ref FLDOCC oc,

ref Object value,

out FLDLEN len

);

 

Remarks

 

See also

ATMI FML function Fnext

 

TypedFML.Fnmid_unload Method

Recovers space from nm->id mapping tables.

public static void Fnmid_unload();

 

Remarks

 

See also

ATMI FML function Fnmid_unload

 

TypedFML.Fnum Method

Returns count of all occurrences in buffer.

public FLDOCC Fnum();

 

Remarks

 

See also

ATMI FML function Fnum

 

TypedFML.Foccur Method

Returns count of field occurrences in buffer.

public FLDOCC Foccur(FLDID fieldid);

 

Remarks

 

See also

ATMI FML function Foccur

 

TypedFML.Fojoin Method

Outer join of source into destination buffer.

public void Fojoin(

TypedFML src

);

 

Remarks

 

See also

ATMI FML function Fojoin

 

TypedFML.Fpres Method

True if field occurrence is present in buffer.

public bool Fpres(

FLDID fieldid,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Fpres

 

TypedFML.Fprint Method

Prints buffer to standard output.

public void Fprint();

 

Remarks

 

See also

ATMI FML function Fprint

 

TypedFML.Fread Method

Reads fielded buffer.

public void Fread(

FILE iop

);

 

Remarks

 

See also

ATMI FML function Fread

 

TypedFML.Frstrindex Method

Restores index in a buffer.

public void Frstrindex(

FLDOCC numidx

);

 

Remarks

 

See also

ATMI FML function Frstrindex

 

TypedFML.FromTypedFML32 Method

Converts 16-bit FML from 32-bit FML buffer.

public void FromTypedFML32(

TypedFML32 src

);

 

Remarks

This method calls ATMI FML function F32to16 to perform the actual conversion.

See also

ATMI FML function F32to16

 

TypedFML.FromTypedView Method

Converts 16-bit FML from 16-bit VIEW buffer.

public void FromTypedView(

TypedView vw,

int mode

);

 

Remarks

This method calls ATMI FML function Fvstof to perform the actual conversion.

See also

ATMI FML function Fvstof

 

TypedFML.Fsizeof Method

Returns size of fielded buffer.

public int Fsizeof();

 

Remarks

 

See also

ATMI FML function Fsizeof

 

TypedFML.Fstrerror Method

Gets error message string for FML error.

public static string Fstrerror(

int err

);

 

Remarks

 

See also

ATMI FML function Fstrerror

 

TypedFML.Ftype Method

Returns string representing type of field.

public static string Ftype(

FLDID fieldid

);

 

Remarks

 

See also

ATMI FML function Ftype

 

TypedFML.Funindex Method

Discards fielded buffer's index.

public int Funindex();

 

Remarks

 

See also

ATMI FML function Funindex

 

TypedFML.Funused Method

Returns number of unused bytes in fielded buffer.

public long Funused();

 

Remarks

 

See also

ATMI FML function Funused

 

TypedFML.Fupdate Method

Updates destination buffer with source.

public void Fupdate(

TypedFML src

);

 

Remarks

 

See also

ATMI FML function Fupdate

 

TypedFML.Fused Method

Returns number of used bytes in fielded buffer.

public long Fused();

 

Remarks

 

See also

ATMI FML function Fused

 

TypedFML.Fvall Method

Returns long value of field occurrence

public long Fvall(

FLDID fieldid,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Fvall

 

TypedFML.Fvals Method

Returns string value of field occurrence

public string Fvals(

FLDID fieldid,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Fvals

 

TypedFML.Fvneeded Method

Computes size needed for view buffer.

public static long Fvneeded(

string subviewtype

);

 

Remarks

 

See also

ATMI FML function Fvneeded

 

TypedFML.Fvnull Method

Checks if a structure element is NULL.

public static bool Fvnull(

TypedView vw,

string cname,

FLDOCC oc

);

 

Remarks

 

See also

ATMI FML function Fvnull

 

TypedFML.Fvopt Method

Changes flag options of a mapping entry.

public static void Fvopt(

string cname,

int option,

string view

);

 

Remarks

 

See also

ATMI FML function Fvopt

 

TypedFML.Fvrefresh Method

Clears and reinitializes the internal cache of view structure mappings.

public static void Fvrefresh();

 

Remarks

 

See also

ATMI FML function Fvrefresh

 

TypedFML.Fvselinit Method

Initializes structure element to NULL.

public static void Fvselinit(

TypedView vw,

string cname

);

 

Remarks

 

See also

ATMI FML function Fvselinit

 

TypedFML.Fvsinit Method

Initializes C structure to NULL.

public static void Fvsinit(

TypedView vw,

);

 

Remarks

 

See also

ATMI FML function Fvsinit

 

TypedFML.Fwrite Method

Writes fielded buffer.

public void Fwrite(

FILE iop

);

 

Remarks

 

See also

ATMI FML function Fwrite

 

TypedFML.ToTypedView Method

Copies from fielded buffer to C structure

public void ToTypedView(

TypedView vw

);

 

Remarks

 

See also

ATMI FML function Fvftos