GH_LooseChunk
A utility class for creating partial archives.
Inheritance Hierarchy
System.Object
GH_IO.Serialization.GH_Chunk
GH_IO.Serialization.GH_LooseChunk
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)
Syntax
public class GH_LooseChunk : GH_Chunk
The GH_LooseChunk type exposes the following members.
Constructors
Name
Description
Public Method
GH_LooseChunk(String)
Create a new loose chunk. A loose chunk does not have an owner archive and thus cannot store runtime messages.
Public Method
GH_LooseChunk(String, Int32)
Create a new loose chunk. A loose chunk does not have an owner archive and thus cannot store runtime messages.
Properties
Name
Description
Public Property
Archive
Gets a pointer to the archive that owns the Root of the tree this chunk belongs to.
(Inherited from GH_Chunk.)
Public Property
ArchiveLocation
Gets a string representing the URI with which the archive is associated. The location may be a null string.
(Inherited from GH_Chunk.)
Public Property
ChunkCount
Gets the number of child chunks contained in this chunk. The set of all child chunks is referred to as a ‘litter’.
(Inherited from GH_Chunk.)
Public Property
Chunks
Gets a pointer to the internal list of child chunks. Do not access this list unless you know what you are doing.
(Inherited from GH_Chunk.)
Public Property
HasComments
Gets a value that indicates whether or not comments have been stored in this chunk.
(Inherited from GH_Chunk.)
Public Property
HasIndex
Gets the index existence implication. The item is considered to have an index qualifier if the index value is larger than or equal to zero.
(Inherited from GH_Chunk.)
Public Property
HasName
Gets the name validity of this item. The item is considered to have an invalid name if string.IsNullOrEmpty(name)
(Inherited from GH_Chunk.)
Public Property
Index
Gets the index of this chunk. The index is set by the owner of this chunk. Indices smaller than zero imply no index has been set. The combination of name+index is always unique among a set of chunks in the same litter.
(Inherited from GH_Chunk.)
Public Property
ItemCount
Gets the number of items contained in this chunk.
(Inherited from GH_Chunk.)
Public Property
Items
Gets a pointer to the internal list of items. Do not access this list unless you know what you are doing.
(Inherited from GH_Chunk.)
Public Property
Name
Gets the name of this chunk. The name is set by the owner of this chunk. Names must be at least 1 character long. The combination of name+index is always unique among a set of chunks in a single litter.
(Inherited from GH_Chunk.)
Methods
Name
Description
Public Method
AddComment
Adds a text comment to this chunk. Comments are serialized only if the output flavour is a human readable format. Comments are never deserialized, they are purely for the benefit of the humans reading the file data.
(Inherited from GH_Chunk.)
Public Method
AddMessage
Log a new message with the top-level archive. Messages are collected during read/write operations, and can be displayed to the user upon completion using GH_Archive.ShowMessageLog().
(Inherited from GH_Chunk.)
Public Method
ChunkExists(String)
Checks whether a chunk with the specified name exists in the litter. Only chunks without index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
ChunkExists(String, Int32)
Checks whether a chunk with the specified name and index exists in the litter. Only chunks with index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
CopyValuesFromChunk
Copy all values and sub-chunks from another chunk.
(Inherited from GH_Chunk.)
Public Method
CopyValuesToChunk
Copy all values and sub-chunks in this chunk to another chunk which does not point to the same archive.
(Inherited from GH_Chunk.)
Public Method
CreateChunk(String)
Create a new child chunk with the specified name and without an index qualifier. If another chunk already exists with similar properties, an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
CreateChunk(String, Int32)
Create a new child chunk with the specified name and index qualifier. If another chunk already exists with similar properties, an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
Deserialize_Binary
Deserializes a byte array.
Public Method
Deserialize_Xml
Deserializes an Xml string.
Public Method
FindChunk(String)
Finds the first chunk in the litter that matches the given name. Only chunks without index qualifiers are considered.
(Inherited from GH_Chunk.)
Public Method
FindChunk(String, Int32)
Finds the first chunk in the list that matches the given name and index. Only chunks with index qualifiers are considered.
(Inherited from GH_Chunk.)
Public Method
FindItem(String)
Finds the first item that matches the given name. Only items without index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
FindItem(String, Int32)
Finds the first item that matches the given name and index. Only items with index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetBoolean(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetBoolean(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetBoundingBox(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetBoundingBox(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetByte(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetByte(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetByteArray(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetByteArray(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDate(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDate(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDecimal(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDecimal(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDouble(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDouble(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDoubleArray(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDoubleArray(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingBitmap(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingBitmap(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingColor(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingColor(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingPoint(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingPoint(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingPointF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingPointF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingRectangle(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingRectangle(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingRectangleF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingRectangleF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingSize(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingSize(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingSizeF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetDrawingSizeF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetGuid(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetGuid(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInt32(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInt32(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInt64(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInt64(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInterval1D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInterval1D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInterval2D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetInterval2D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetLine(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetLine(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPath(String, String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPath(String, Int32, String)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPlane(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPlane(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint2D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint2D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint3D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint3D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint4D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetPoint4D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetSingle(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetSingle(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetString(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetString(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetVersion(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
GetVersion(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
ItemExists(String)
Gets the occupancy for a specific item name. Only items without index qualifiers are considered.
(Inherited from GH_Chunk.)
Public Method
ItemExists(String, Int32)
Checks whether an item with the specified name and index exists. Only items with index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
Read(BinaryReader)
Read this chunk and all child chunks from a binary stream.
(Inherited from GH_Chunk.)
Public Method
Read(XmlNode)
Read this chunk and all child chunks from an Xml node.
(Inherited from GH_Chunk.)
Public Method
RemoveChunk(GH_IChunk)
Remove the specified chunk from the litter.
(Inherited from GH_Chunk.)
Public Method
RemoveChunk(String)
Remove the first chunk with a matching name. Only chunks without index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
RemoveChunk(String, Int32)
Remove the first chunk with a matching name and index. Only chunks with index qualifiers are considered. Name comparisons are not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
RemoveItem(String)
Remove an unindexed item from this chunk.
(Inherited from GH_Chunk.)
Public Method
RemoveItem(String, Int32)
Remove an indexed item from this chunk.
(Inherited from GH_Chunk.)
Public Method
Code Example
Serialize_Binary
Serializes the data tree into a byte array.
Public Method
Code Example
Serialize_Xml
Serializes the data tree into an Xml string.
Public Method
SetBoolean(String, Boolean)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetBoolean(String, Int32, Boolean)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetBoundingBox(String, GH_BoundingBox)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetBoundingBox(String, Int32, GH_BoundingBox)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetByte(String, Byte)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetByte(String, Int32, Byte)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetByteArray(String, .Byte.)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetByteArray(String, Int32, .Byte.)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDate(String, DateTime)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDate(String, Int32, DateTime)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDecimal(String, Decimal)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDecimal(String, Int32, Decimal)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDouble(String, Double)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDouble(String, Int32, Double)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDoubleArray(String, .Double.)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDoubleArray(String, Int32, .Double.)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingBitmap(String, Bitmap)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingBitmap(String, Int32, Bitmap)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingColor(String, Color)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingColor(String, Int32, Color)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingPoint(String, Point)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingPoint(String, Int32, Point)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingPointF(String, PointF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingPointF(String, Int32, PointF)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingRectangle(String, Rectangle)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingRectangle(String, Int32, Rectangle)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingRectangleF(String, RectangleF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingRectangleF(String, Int32, RectangleF)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingSize(String, Size)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingSize(String, Int32, Size)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingSizeF(String, SizeF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetDrawingSizeF(String, Int32, SizeF)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetGuid(String, Guid)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetGuid(String, Int32, Guid)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInt32(String, Int32)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInt32(String, Int32, Int32)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInt64(String, Int64)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInt64(String, Int32, Int64)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInterval1D(String, GH_Interval1D)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInterval1D(String, Int32, GH_Interval1D)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInterval2D(String, GH_Interval2D)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetInterval2D(String, Int32, GH_Interval2D)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetLine(String, GH_Line)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetLine(String, Int32, GH_Line)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPath(String, String, String)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPath(String, Int32, String, String)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPlane(String, GH_Plane)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPlane(String, Int32, GH_Plane)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint2D(String, GH_Point2D)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint2D(String, Int32, GH_Point2D)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint3D(String, GH_Point3D)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint3D(String, Int32, GH_Point3D)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint4D(String, GH_Point4D)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetPoint4D(String, Int32, GH_Point4D)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetSingle(String, Single)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetSingle(String, Int32, Single)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetString(String, String)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetString(String, Int32, String)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetVersion(String, GH_Version)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetVersion(String, Int32, GH_Version)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetVersion(String, Int32, Int32, Int32)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
SetVersion(String, Int32, Int32, Int32, Int32)
Add a new data item to this chunk. The combination of name and index must be unique or an exception will be thrown.
(Inherited from GH_Chunk.)
Public Method
TryGetBoolean(String, Boolean.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetBoolean(String, Int32, Boolean.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetBoundingBox(String, GH_BoundingBox.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetBoundingBox(String, Int32, GH_BoundingBox.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetByte(String, Byte.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetByte(String, Int32, Byte.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDate(String, DateTime.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDate(String, Int32, DateTime.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDecimal(String, Decimal.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDecimal(String, Int32, Decimal.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDouble(String, Double.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDouble(String, Int32, Double.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingColor(String, Color.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingColor(String, Int32, Color.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingPoint(String, Point.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingPoint(String, Int32, Point.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingPointF(String, PointF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingPointF(String, Int32, PointF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingRectangle(String, Rectangle.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingRectangle(String, Int32, Rectangle.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingRectangleF(String, RectangleF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingRectangleF(String, Int32, RectangleF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingSize(String, Size.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingSize(String, Int32, Size.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingSizeF(String, SizeF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetDrawingSizeF(String, Int32, SizeF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetGuid(String, Guid.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetGuid(String, Int32, Guid.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInt32(String, Int32.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInt32(String, Int32, Int32.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInt64(String, Int64.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInt64(String, Int32, Int64.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInterval1D(String, GH_Interval1D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInterval1D(String, Int32, GH_Interval1D.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInterval2D(String, GH_Interval2D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetInterval2D(String, Int32, GH_Interval2D.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetLine(String, GH_Line.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetLine(String, Int32, GH_Line.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPlane(String, GH_Plane.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPlane(String, Int32, GH_Plane.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint2D(String, GH_Point2D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint2D(String, Int32, GH_Point2D.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint3D(String, GH_Point3D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint3D(String, Int32, GH_Point3D.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint4D(String, GH_Point4D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetPoint4D(String, Int32, GH_Point4D.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetSingle(String, Single.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetSingle(String, Int32, Single.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetString(String, String.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetString(String, Int32, String.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetVersion(String, GH_Version.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
TryGetVersion(String, Int32, GH_Version.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
(Inherited from GH_Chunk.)
Public Method
Write(BinaryWriter)
Write this chunk and all child chunks to a binary stream.
(Inherited from GH_Chunk.)
Public Method
Write(XmlWriter)
Serialize this chunk into an Xml stream.
(Inherited from GH_Chunk.)
Fields
Name
Description
Protected field
m_archivePointer to the archive that owns the Root of the tree this chunk belongs to.
(Inherited from GH_Chunk.)
Protected field
m_chunksDictionary of sub-chunks contained within this chunk.
(Inherited from GH_Chunk.)
Protected field
m_commentsList of text comments. This list is automatically instantiated once the first comment is added.
(Inherited from GH_Chunk.)
Protected field
m_indexIndex of this chunk. This field is set only once, during construction. A negative index indicates no index qualifier has been set.
(Inherited from GH_Chunk.)
Protected field
m_itemsThe list of nodes contained within this chunk.
(Inherited from GH_Chunk.)
Protected field
m_nameName of this chunk. This field is set only once, during construction.
(Inherited from GH_Chunk.)