Craig's Utility Library  4.0 Beta
Utilities.IO.FileFormats.FixedLength.BaseClasses.FixedLengthBase< ObjectType, FieldType > Class Template Referenceabstract

Parses and creates a fixed length file More...

Inheritance diagram for Utilities.IO.FileFormats.FixedLength.BaseClasses.FixedLengthBase< ObjectType, FieldType >:

Public Member Functions

abstract void Parse (string Value, int Length=-1)
 Parses the string into fields More...
 
override string ToString ()
 Converts the file to a string More...
 

Protected Member Functions

 FixedLengthBase ()
 Constructor More...
 
override void LoadFromData (string Data)
 Loads the data into the object More...
 

Detailed Description

Parses and creates a fixed length file

Template Parameters
ObjectTypeObject Type
FieldTypeField Type
Type Constraints
ObjectType :FixedLengthBase 
ObjectType :ObjectType 
ObjectType :FieldType 
ObjectType :new() 

Definition at line 33 of file FixedLengthBase.cs.

Constructor & Destructor Documentation

Constructor

Definition at line 39 of file FixedLengthBase.cs.

Member Function Documentation

override void Utilities.IO.FileFormats.FixedLength.BaseClasses.FixedLengthBase< ObjectType, FieldType >.LoadFromData ( string  Data)
protected

Loads the data into the object

Parameters
DataThe data to load

Definition at line 66 of file FixedLengthBase.cs.

abstract void Utilities.IO.FileFormats.FixedLength.BaseClasses.FixedLengthBase< ObjectType, FieldType >.Parse ( string  Value,
int  Length = -1 
)
pure virtual

Parses the string into fields

Parameters
ValueThe string value
LengthMax length for the record
override string Utilities.IO.FileFormats.FixedLength.BaseClasses.FixedLengthBase< ObjectType, FieldType >.ToString ( )

Converts the file to a string

Returns
The file as a string

Definition at line 54 of file FixedLengthBase.cs.


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