Craig's Utility Library  4.0 Beta
Utilities.IO.FileFormats.FixedLength.StringField Class Reference

Field containing string info (used in text based files) More...

Inheritance diagram for Utilities.IO.FileFormats.FixedLength.StringField:
Utilities.IO.FileFormats.FixedLength.BaseClasses.FieldBase< string >

Public Member Functions

 StringField (string Value="", int Length=-1)
 Constructor More...
 
override void Parse (string Value, int Length=-1, string FillerCharacter=" ")
 Parses the string field More...
 
- Public Member Functions inherited from Utilities.IO.FileFormats.FixedLength.BaseClasses.FieldBase< string >
override string ToString ()
 Converts the field to a string More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utilities.IO.FileFormats.FixedLength.BaseClasses.FieldBase< string >
 FieldBase ()
 Constructor More...
 
- Properties inherited from Utilities.IO.FileFormats.FixedLength.BaseClasses.FieldBase< string >
virtual int Length [get, set]
 Length of the field More...
 
virtual T Value [get, set]
 Value of the field More...
 

Detailed Description

Field containing string info (used in text based files)

Definition at line 31 of file StringField.cs.

Constructor & Destructor Documentation

Utilities.IO.FileFormats.FixedLength.StringField.StringField ( string  Value = "",
int  Length = -1 
)

Constructor

Parameters
ValueValue to place in the field
LengthMax length of the value

Definition at line 38 of file StringField.cs.

Member Function Documentation

override void Utilities.IO.FileFormats.FixedLength.StringField.Parse ( string  Value,
int  Length = -1,
string  FillerCharacter = " " 
)
virtual

Parses the string field

Parameters
ValueValue
LengthMax length allowed
FillerCharacterFiller character

Implements Utilities.IO.FileFormats.FixedLength.BaseClasses.FieldBase< string >.

Definition at line 49 of file StringField.cs.


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