Craig's Utility Library
4.0 Beta
|
Format base class More...
Public Member Functions | |
abstract object | Clone () |
Clones the object More... | |
int | CompareTo (object obj) |
Compares the object to another object More... | |
abstract int | CompareTo (FormatType other) |
Compares the object to another object More... | |
abstract bool | Equals (FormatType other) |
Determines if the objects are equal More... | |
override bool | Equals (object obj) |
Determines if the objects are equal More... | |
override int | GetHashCode () |
Gets the hash code for the object More... | |
abstract FormatType | Save (string Location) |
Saves the object More... | |
Static Public Member Functions | |
static FormatType | Load (string Location) |
Loads the object from the location specified More... | |
static bool | operator!= (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if the two are not equal More... | |
static bool | operator< (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if it is less than More... | |
static bool | operator<= (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if it is less than or equal More... | |
static bool | operator== (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if the two are equal More... | |
static bool | operator> (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if it is greater than More... | |
static bool | operator>= (FormatBase< FormatType, ContentType > Value1, FormatBase< FormatType, ContentType > Value2) |
Determines if it is greater than or equal More... | |
Protected Member Functions | |
FormatBase () | |
Constructor More... | |
abstract FormatType | InternalLoad (string Location) |
Loads the object from the location specified More... | |
Format base class
ContentType | Content type |
FormatType | Format type |
FormatType | : | FormatBase | |
FormatType | : | FormatType | |
FormatType | : | ContentType | |
FormatType | : | new() |
Definition at line 33 of file FormatBase.cs.
|
protected |
Constructor
Definition at line 39 of file FormatBase.cs.
|
pure virtual |
Clones the object
Implemented in Utilities.IO.FileFormats.BaseClasses.StringFormatBase< FormatType >.
int Utilities.IO.FileFormats.BaseClasses.FormatBase< FormatType, ContentType >.CompareTo | ( | object | obj | ) |
Compares the object to another object
obj | Object to compare to |
Definition at line 134 of file FormatBase.cs.
|
pure virtual |
Compares the object to another object
other | Object to compare to |
Implemented in Utilities.IO.FileFormats.BaseClasses.StringFormatBase< FormatType >.
|
pure virtual |
Determines if the objects are equal
other | Other object to compare to |
Implemented in Utilities.IO.FileFormats.BaseClasses.StringFormatBase< FormatType >.
override bool Utilities.IO.FileFormats.BaseClasses.FormatBase< FormatType, ContentType >.Equals | ( | object | obj | ) |
Determines if the objects are equal
obj | Other object to compare to |
Definition at line 158 of file FormatBase.cs.
override int Utilities.IO.FileFormats.BaseClasses.FormatBase< FormatType, ContentType >.GetHashCode | ( | ) |
Gets the hash code for the object
Definition at line 170 of file FormatBase.cs.
|
protectedpure virtual |
Loads the object from the location specified
Location | Location of the file to load |
Implemented in Utilities.IO.FileFormats.BaseClasses.StringFormatBase< FormatType >.
|
static |
Loads the object from the location specified
Location | Location of the file to load |
Definition at line 48 of file FormatBase.cs.
|
static |
Determines if the two are not equal
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 59 of file FormatBase.cs.
|
static |
Determines if it is less than
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 70 of file FormatBase.cs.
|
static |
Determines if it is less than or equal
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 82 of file FormatBase.cs.
|
static |
Determines if the two are equal
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 94 of file FormatBase.cs.
|
static |
Determines if it is greater than
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 105 of file FormatBase.cs.
|
static |
Determines if it is greater than or equal
Value1 | Value 1 |
Value2 | Value 2 |
Definition at line 117 of file FormatBase.cs.
|
pure virtual |
Saves the object
Location | Location to save it to |
Implements Utilities.IO.FileFormats.Interfaces.IFormat< FormatType, ContentType >.
Implemented in Utilities.IO.FileFormats.BaseClasses.StringFormatBase< FormatType >.