Skip to content

GH_IWriter

Public Interface

Provides access to a subset of GH_Chunk methods used for writing archives.

Namespace: GH_IO.Serialization

Assembly: GH_IO (in GH_IO.dll)

Syntax

public interface GH_IWriter : GH_IChunk,
GH_IBinarySupport, GH_IXmlSupport

The GH_IWriter type exposes the following members.

Properties

Name

Description


Public Property

Gets a pointer to the archive that owns the Root of the tree this chunk belongs to.

(Inherited from GH_IChunk.)


Public Property

Gets a string representing the URI with which the archive is associated. The location may be a null string.

(Inherited from GH_IChunk.)


Public Property

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_IChunk.)


Public Property

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_IChunk.)


Public Property

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_IChunk.)


Public Property

Gets the number of items contained in this chunk.

(Inherited from GH_IChunk.)


Public Property

Gets a pointer to the internal list of items. Do not access this list unless you know what you are doing.

(Inherited from GH_IChunk.)


Public Property

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_IChunk.)


Methods

Name

Description


Public Method

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

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_IChunk.)


Public Method

Create a new child chunk with the specified name but without an index qualifier. If another chunk already exists with similar properties, an exception will be thrown.


Public Method

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

Called when an object is required to deserialize itself.

(Inherited from GH_IBinarySupport.)


Public Method

Called when an object is required to deserialize itself.

(Inherited from GH_IXmlSupport.)


Public Method

Remove the specified chunk from the litter.


Public Method

Remove the first chunk with a matching name. Only chunks without index qualifiers are considered. Name comparisons are not case-sensitive.


Public Method

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

Remove an unindexed item from this chunk.


Public Method

Remove an indexed item from this chunk.


Public Method

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

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

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Add a new data item to this chunk. The name must be unique or an exception will be thrown.


Public Method

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

Called when an object is required to serialize itself.

(Inherited from GH_IBinarySupport.)


Public Method

Called when an object is required to serialize itself.

(Inherited from GH_IXmlSupport.)