Serializable Class

Inherits from

System.Object

 

Classes that Inherit Serializable

GeoCalc.AreaOfUse

GeoCalc.CoordPoint

GeoCalc.Datum

GeoCalc.Ellipsoid

GeoCalc.Enclosure

GeoCalc.PrimeMeridian

GeoCalc.Scope

GeoCalc.Unit

GeoCalc.Usage

 

Description

The Serializable class defines an object that can be loaded from or saved to the DataSource.  It cannot be instantiated, as it is an abstract class, but it provides a base for many objects in the GeoCalc library.

 

Properties

Constructor

Description

AlwaysSaveToCustom

Gets/Sets whether this object is a special base object that has updated identifiers from custom or enterprise.

DeprecatedTimestamp

Gets or sets when this object was deprecated.

HistoryList

Gets or sets the History List.

Identifiers

Gets the identifiers for this object.

IsBase

Gets whether this object is in the base level datasource.

IsDeprecated

Gets whether this object is deprecated. DeprecatedTimestamp

IsFileBased

Gets whether this object has a dependency on a file.

IsReadOnly

Gets whether this object is 'readonly'. (meaning is its definition file read only)

IsUsable

Gets or sets whether this object is usable.

Name

Gets or sets the name of the serializable object.

ObjectType

Gets the GeoCalc object type.

ObjectTypeName

Gets the GeoCalc object type as a string.

Remarks

Gets or sets the remarks regarding the serializable object.

RevisionTimestamp

Gets or sets when this object was revised.

 

Methods

Method

Description

CheckIsUsable Check to see if this object is usable.

ClearSaveInfo

For use when taking an object from one datasource and attempting to add it to another.

ClearUsabilityFlags

Resets the usability flags to 'unknown'.

Clone

Produces a deep-copy of the current instance

Equivalent

Comparison to see if the object obj is "nearly" equal to this.

EquivalentDiffs

Comparison to see if the object obj is "nearly" equal to this.

GetObjectDescription

Gets this object description

IsBaseNearlyEqual

Comparison to see if the object obj is "nearly" equal to this.

IsNearlyEqual

Comparison to see if the object obj is nearly equal to this.

IsUsabilityFlagSet

Checks if the specified usability flag is set.

SetUsabilityFlag

Sets the specific usability flag

StrictlyEquals

Comparison to see if the object obj is exactly equal to this.

TryToFixUsability

For objects where IsUsable is false, attempt to recheck. Used mainly for filebased serializable objects (Nadcon grid shifts, DLS translators).

UnsetUsabilityFlag

Unsets the specific usability flag

Inherited Method

Description

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object).

GetHashCode

Serves as the default hash function. (Inherited from Object).

GetType

Gets the Type of the current instance. (Inherited from Object).

ToString

Returns a string that represents the current object. (Inherited from Object).