GH_Chunk
Full implementation of GH_IChunk, GH_IReader, GH_IWriter, GH_IBinarySupport and GH_IXmlSupport. Instances of this class are usually disguised as one of the interfaces it implements.
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_Chunk : GH_IWriter, GH_IChunk, GH_IBinarySupport, GH_IXmlSupport, GH_IReader
The GH_Chunk type exposes the following members.
Constructors
Name
Description
Protected method
GH_Chunk.
Blank constructor. You typically do not need to create your own Chunks. The GH_Archive class will create top-level chunks and existing chunks can create child chunks.
Protected method
GH_Chunk(GH_Archive)
Constructor. You typically do not need to create your own Chunks. The GH_Archive class will create top-level chunks and existing chunks can create child chunks.
Protected method
GH_Chunk(GH_Archive, String)
Constructor. You typically do not need to create your own Chunks. The GH_Archive class will create top-level chunks and existing chunks can create child chunks.
Protected method
GH_Chunk(GH_Archive, String, Int32)
Constructor. You typically do not need to create your own Chunks. The GH_Archive class will create top-level chunks and existing chunks can create child chunks.
Properties
Name
Description
Public Property
Archive
Gets a pointer to the archive that owns the Root of the tree this chunk belongs to.
Public Property
ArchiveLocation
Gets a string representing the URI with which the archive is associated. The location may be a null string.
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’.
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.
Public Property
HasComments
Gets a value that indicates whether or not comments have been stored in this 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.
Public Property
HasName
Gets the name validity of this item. The item is considered to have an invalid name if string.IsNullOrEmpty(name)
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.
Public Property
ItemCount
Gets the number of items contained in this 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.
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.
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.
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().
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.
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.
Public Method
CopyValuesFromChunk
Copy all values and sub-chunks from another chunk.
Public Method
CopyValuesToChunk
Copy all values and sub-chunks in this chunk to another chunk which does not point to the same archive.
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.
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.
Public Method
FindChunk(String)
Finds the first chunk in the litter that matches the given name. Only chunks without index qualifiers are considered.
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.
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.
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.
Public Method
GetBoolean(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetBoolean(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetBoundingBox(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetBoundingBox(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetByte(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetByte(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetByteArray(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetByteArray(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDate(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDate(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDecimal(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDecimal(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDouble(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDouble(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDoubleArray(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDoubleArray(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingBitmap(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingBitmap(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingColor(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingColor(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingPoint(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingPoint(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingPointF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingPointF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingRectangle(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingRectangle(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingRectangleF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingRectangleF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingSize(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingSize(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetDrawingSizeF(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetDrawingSizeF(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetGuid(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetGuid(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetInt32(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetInt32(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetInt64(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetInt64(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetInterval1D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetInterval1D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetInterval2D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetInterval2D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetLine(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetLine(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetPath(String, String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetPath(String, Int32, String)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetPlane(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetPlane(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetPoint2D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetPoint2D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetPoint3D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetPoint3D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetPoint4D(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetPoint4D(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetSingle(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetSingle(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetString(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetString(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
GetVersion(String)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
GetVersion(String, Int32)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
Static Member
InstantiateRoot
Construct a new instance of GH_Chunk which acts as a Root node. If you must create a chunk from scratch, use this static method to create one.
Public Method
ItemExists(String)
Gets the occupancy for a specific item name. Only items without index qualifiers are considered.
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.
Public Method
Read(BinaryReader)
Read this chunk and all child chunks from a binary stream.
Public Method
Read(XmlNode)
Read this chunk and all child chunks from an Xml node.
Public Method
RemoveChunk(GH_IChunk)
Remove the specified chunk from the litter.
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.
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.
Public Method
RemoveItem(String)
Remove an unindexed item from this chunk.
Public Method
RemoveItem(String, Int32)
Remove an indexed item from this chunk.
Public Method
SetBoolean(String, Boolean)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
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.
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.
Public Method
SetByte(String, Byte)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetByteArray(String, .Byte.)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDate(String, DateTime)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDecimal(String, Decimal)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDouble(String, Double)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDoubleArray(String, .Double.)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingBitmap(String, Bitmap)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingColor(String, Color)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingPoint(String, Point)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingPointF(String, PointF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingRectangle(String, Rectangle)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingRectangleF(String, RectangleF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingSize(String, Size)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetDrawingSizeF(String, SizeF)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetGuid(String, Guid)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetInt32(String, Int32)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetInt64(String, Int64)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Public Method
SetSingle(String, Single)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
Public Method
SetString(String, String)
Add a new data item to this chunk. The name must be unique or an exception will be thrown.
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.
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.
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.
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.
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.
Public Method
TryGetBoolean(String, Boolean.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetBoolean(String, Int32, Boolean.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetBoundingBox(String, GH_BoundingBox.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetByte(String, Byte.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetByte(String, Int32, Byte.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDate(String, DateTime.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDate(String, Int32, DateTime.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDecimal(String, Decimal.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDecimal(String, Int32, Decimal.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDouble(String, Double.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDouble(String, Int32, Double.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingColor(String, Color.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingColor(String, Int32, Color.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingPoint(String, Point.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingPoint(String, Int32, Point.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingPointF(String, PointF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingPointF(String, Int32, PointF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingRectangle(String, Rectangle.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingRectangle(String, Int32, Rectangle.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingRectangleF(String, RectangleF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingRectangleF(String, Int32, RectangleF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingSize(String, Size.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingSize(String, Int32, Size.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetDrawingSizeF(String, SizeF.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetDrawingSizeF(String, Int32, SizeF.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetGuid(String, Guid.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetGuid(String, Int32, Guid.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetInt32(String, Int32.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetInt32(String, Int32, Int32.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetInt64(String, Int64.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetInt64(String, Int32, Int64.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetInterval1D(String, GH_Interval1D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetInterval2D(String, GH_Interval2D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetLine(String, GH_Line.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetPlane(String, GH_Plane.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetPoint2D(String, GH_Point2D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetPoint3D(String, GH_Point3D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetPoint4D(String, GH_Point4D.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
TryGetSingle(String, Single.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetSingle(String, Int32, Single.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetString(String, String.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Public Method
TryGetString(String, Int32, String.)
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Public Method
TryGetVersion(String, GH_Version.)
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
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.
Public Method
Write(BinaryWriter)
Write this chunk and all child chunks to a binary stream.
Public Method
Write(XmlWriter)
Serialize this chunk into an Xml stream.
Fields
Name
Description
Protected field
m_archivePointer to the archive that owns the Root of the tree this chunk belongs to.
Protected field
m_chunksDictionary of sub-chunks contained within this chunk.
Protected field
m_commentsList of text comments. This list is automatically instantiated once the first comment is added.
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.
Protected field
m_itemsThe list of nodes contained within this chunk.
Protected field
m_nameName of this chunk. This field is set only once, during construction.
Protected fieldStatic Member
Comparison flag to use when comparing names.