All Frameworks Class Hierarchy This Framework Previous Next Indexes
Mathematics Class CATMathStream
Mathematics.CATCGMVirtual
|
+---CATMathStream
Usage: you must use this class as is. You should never derive it.
public class CATMathStream
Base class of the stream and unstream operations.
Constructor and Destructor Index
- o
CATMathStream(CATMathStreamImpl*)
- Constructs CATMathStream for stream operation (read and write acces are allowed).
- o
CATMathStream(char*,CATCGMStreamType,CATBoolean,CATMathStreamImpl*)
- Constructs CATMathStream for read only or write only stream operation.
- o
CATMathStream(istream&,CATMathStreamImpl*)
- Constructs CATMathStream for read only stream operation.
- o
CATMathStream(ostream&,size_t,CATBoolean,CATMathStreamImpl*)
- Constructs CATMathStream for write only stream operation.
- o
CATMathStream(size_t,CATCGMStreamType,CATBoolean,CATMathStreamImpl*)
- Constructs CATMathStream for stream operation.
- o
CATMathStream(void*,size_t,CATMathStreamImpl*)
- Constructs CATMathStream for read only stream operation.
- o
~CATMathStream()
- Destructor
Method Index
- o
Advance(size_t)
- Skips of a given length.
- o
Clear()
- Clear the Contents of the current Stream.
- o
CloseReadStreamHeader(size_t,short)
- Close a CATMathStream for read acces.
- o
CloseWriteStreamHeader(size_t,short)
- Close a CATMathStream for write acces.
- o
GetCurrentPosition()
- Returns the current position.
- o
GetLength()
- Returns the length of this.
- o
GetMemoryCopy(size_t,void*,size_t&)
- Get the CATMathStream contents in a memory area.
- o
OpenReadStreamHeader(size_t&,short&,short)
- Open a CATMathStream for read acces.
- o
OpenWriteStreamHeader(size_t&,short&,short)
- Open a CATMathStream for write acces.
- o
Read3x3Matrix(CATMath3x3Matrix&,char[])
- Reads a CATMath3x3Matrix.
- o
ReadAxis(CATMathAxis&,char[])
- Reads a CATMathAxis.
- o
ReadBoolean(CATBoolean&,char[])
- Reads an CATBoolean.
- o
ReadBox(CATMathBox&,char[])
- Reads a CATMathBox.
- o
ReadCATUuid(CATUuid&,char[])
- Reads a CATUuid.
- o
ReadConfig(CATSoftwareConfiguration&,char[])
- Reads a CATSoftwareConfiguration.
- o
ReadDouble(double&,char[])
- Reads a double.
- o
ReadDouble(double*,CATLONG32,char[])
- Reads an array of doubles.
- o
ReadFloat(float&,char[])
- Reads a float.
- o
ReadFloat(float*,CATLONG32,char[])
- Reads an array of floats.
- o
ReadLong(CATLONG32&,char[])
- Reads a CATLONG32 integer.
- o
ReadLong(CATLONG32*,CATLONG32,char[])
- Reads a CATLONG32 integer.
- o
ReadPlane(CATMathPlane&,char[])
- Reads a CATMathPlane.
- o
ReadPoint(CATMathPoint&,char[])
- Reads a CATMathPoint.
- o
ReadShort(short&,char[])
- Reads a short integer.
- o
ReadShort(short*,CATLONG32,char[])
- Reads an array of short integers.
- o
ReadStream(CATMathStream&,size_t,char[])
- Reads a stream on this.
- o
ReadString(char*&,char[])
- Reads a string.
- o
ReadTransformation(CATMathTransformation&,char[])
- Reads a CATMathTransformation.
- o
ReadUChar(unsigned char&,char[])
- Reads an unsigned char.
- o
ReadUChar(unsigned char*,CATLONG32,char[])
- Reads an array of unsigned chars.
- o
ReadULong(CATULONG32&,char[])
- Reads an CATULONG32 integer.
- o
ReadULong(CATULONG32*,CATLONG32,char[])
- Reads an array of CATULONG32 integers.
- o
ReadUShort(unsigned short&,char[])
- Reads an unsigned short integer.
- o
ReadVector(CATMathVector&,char[])
- Reads a CATMathVector.
- o
ReadVector2D(CATMathVector2D&,char[])
- Reads a CATMathVector2D.
- o
Reset()
- Resets the position to the beginning.
- o
Write3x3Matrix(CATMath3x3Matrix&,char[])
- Writes a CATMath3x3Matrix.
- o
WriteAxis(CATMathAxis&,char[])
- Writes a CATMathAxis.
- o
WriteBoolean(CATBoolean,char[])
- Writes an CATBoolean.
- o
WriteBox(CATMathBox&,char[])
- Writes a CATMathBox.
- o
WriteCATUuid(CATUuid&,char[])
- Writes a CATUuid.
- o
WriteConfig(CATSoftwareConfiguration&,char[])
- Writes a CATSoftwareConfiguration.
- o
WriteDouble(double*,CATLONG32,char[])
- Writes a sequence of doubles.
- o
WriteDouble(double,char[])
- Writes a double.
- o
WriteFloat(float*,CATLONG32,char[])
- Writes a sequence of floats.
- o
WriteFloat(float,char[])
- Writes a float.
- o
WriteLong(CATLONG32*,CATLONG32,char[])
- Writes a sequence of CATLONG32 integers.
- o
WriteLong(CATLONG32,char[])
- Writes a CATLONG32 integer.
- o
WritePlane(CATMathPlane&,char[])
- Writes a CATMathPlane.
- o
WritePoint(CATMathPoint&,char[])
- Writes a CATMathPoint.
- o
WriteShort(short*,CATLONG32,char[])
- Writes a sequence of short integers.
- o
WriteShort(short,char[])
- Writes a short integer.
- o
WriteStream(CATMathStream&,char[])
- Writes the content of a stream on this.
- o
WriteString(char*,char[])
- Writes a string.
- o
WriteTransformation(CATMathTransformation&,char[])
- Writes a CATMathTransformation.
- o
WriteUChar(unsigned char*,CATLONG32,char[])
- Writes a sequence of unsigned chars.
- o
WriteUChar(unsigned char,char[])
- Writes an unsigned char.
- o
WriteULong(CATULONG32*,CATLONG32,char[])
- Writes a sequence of CATULONG32 integers.
- o
WriteULong(CATULONG32,char[])
- Writes an CATULONG32 integer.
- o
WriteUShort(unsigned short,char[])
- Writes an unsigned short integer.
- o
WriteVector(CATMathVector&,char[])
- Writes a CATMathVector.
- o
WriteVector2D(CATMathVector2D&,char[])
- Writes a CATMathVector2D.
Constructor and Destructor
o CATMathStream
public CATMathStream( | CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for stream operation (read and write acces are allowed).
- Parameters:
-
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o CATMathStream
public CATMathStream( | const char* | iFilename, |
| const CATCGMStreamType | iAcces, |
| const CATBoolean | iEnableByAddress | = FALSE, |
| CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for read only or write only stream operation.
- Parameters:
-
- ioFile
- The stream from which the stream is read.
- iAcces
- The kind of acces allowed on the CATMathStream.
The first acces of the stream may be done with OpenReadStreamHeader or OpenWriteStreamHeader.
The last acces of the stream may be done with CloseReadStreamHeader or CloseWriteStreamHeader.
- iEnableByAddress
- Reserved for future use. Do not change the default value.
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o CATMathStream
public CATMathStream( | istream& | ioFile, |
| CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for read only stream operation.
- Parameters:
-
- ioFile
- The stream from which the stream is read.
The first acces of the stream may be done with OpenWriteStreamHeader.
The last acces of the stream may be done with CloseWriteStreamHeader.
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o CATMathStream
public CATMathStream( | ostream& | ioFile, |
| size_t | iInitialNumberOfBytes | = 0, |
| const CATBoolean | iEnableByAddress | = FALSE, |
| CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for write only stream operation.
- Parameters:
-
- ioFile
- The stream on which the stream is saved.
- iInitialNumberOfBytes
- The initial memory size of internal buffer in bytes.
The first acces of the stream may be done with OpenReadStreamHeader.
The last acces of the stream may be done with CloseReadStreamHeader.
- iEnableByAddress
- Reserved for future use. Do not change the default value.
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o CATMathStream
public CATMathStream( | size_t | iInitialNumberOfBytes, |
| const CATCGMStreamType | iAcces, |
| const CATBoolean | iEnableByAddress | = FALSE, |
| CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for stream operation.
- Parameters:
-
- iInitialNumberOfBytes
- The initial number of bytes for internal buffer.
- iAcces
- The kind of acces allowed on the CATMathStream.
- iEnableByAddress
- Reserved for future use. Do not change the default value.
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o CATMathStream
public CATMathStream( | void* | iBuffer, |
| size_t | iSizeBuffer, |
| CATMathStreamImpl* | ipImpl | = NULL) |
-
Constructs CATMathStream for read only stream operation.
- Parameters:
-
- iBuffer
- The memory area directly acceded for the read operation.
- iSizeBuffer
- The size in bytes of iBuffer.
- ipMathStreamImpl
- Internal use only. Do not change the default value.
o ~CATMathStream
public virtual ~CATMathStream( | ) |
-
Destructor
Methods
o Advance
public void Advance( | size_t | iSiz) |
-
Skips of a given length.
o Clear
-
Clear the Contents of the current Stream.
o CloseReadStreamHeader
public void CloseReadStreamHeader( | const size_t | iWhere, |
| const short | iLevel) |
-
Close a CATMathStream for read acces.
- Parameters:
-
- iWhere
- internal parameter given by CloseReadStreamHeader.
- iLevel
- internal parameter given by CloseReadStreamHeader.
o CloseWriteStreamHeader
public void CloseWriteStreamHeader( | const size_t | iWhere, |
| const short | iLevel) |
-
Close a CATMathStream for write acces.
- Parameters:
-
- iWhere
- internal parameter given by OpenWriteStreamHeader.
- iLevel
- internal parameter given by OpenWriteStreamHeader.
o GetCurrentPosition
public size_t GetCurrentPosition( | )const |
-
Returns the current position.
o GetLength
public size_t GetLength( | )const |
-
Returns the length of this.
- Returns:
- The length.
o GetMemoryCopy
public void GetMemoryCopy( | const size_t | iSizeBuffer, |
| void* | iBuffer, |
| size_t& | ioSizeCopied) |
-
Get the CATMathStream contents in a memory area.
- Parameters:
-
- iSizeBuffer
- The size in bytes of iBuffer, given to avoid overwriting.
- iBuffer
- The memory area where bytes are copied.
- ioSizeCopied
- Number of bytes copied in iBuffer.
o OpenReadStreamHeader
public void OpenReadStreamHeader( | size_t& | oWhere, |
| short& | oLevel, |
| const short | iWithEndianFormat | = 1) |
-
Open a CATMathStream for read acces.
- Parameters:
-
- oWhere
- internal parameter you must give back at CloseReadStreamHeader.
- oLevel
- internal parameter you must give back at CloseReadStreamHeader.
- iWithEndianFormat
- little big endian format is written, allowing interoperability between different Operating Systems
o OpenWriteStreamHeader
public void OpenWriteStreamHeader( | size_t& | oWhere, |
| short& | oLevel, |
| const short | iWithEndianFormat | = 1) |
-
Open a CATMathStream for write acces.
- Parameters:
-
- oWhere
- internal parameter you must give back at CloseWriteStreamHeader.
- oLevel
- internal parameter you must give back at CloseWriteStreamHeader.
- iWithEndianFormat
- little big endian format is written, allowing interoperability between different Operating Systems
o Read3x3Matrix
public void Read3x3Matrix( | CATMath3x3Matrix& | ioMatrix, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMath3x3Matrix.
- Parameters:
-
- ioMatrix
- The read CATMath3x3Matrix.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadAxis
public void ReadAxis( | CATMathAxis& | ioAxis, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathAxis.
- Parameters:
-
- ioAxis
- The read CATMathAxis.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadBoolean
public void ReadBoolean( | CATBoolean& | ioBoolean, |
| const char[] | iReservedLabel | = "") |
-
Reads an CATBoolean.
- Parameters:
-
- iBoolean
- The read CATBoolean.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadBox
public void ReadBox( | CATMathBox& | ioBox, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathBox.
- Parameters:
-
- ioBox
- The read box.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadCATUuid
public void ReadCATUuid( | CATUuid& | iid, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATUuid.
- Parameters:
-
- iid
- The read CATUuid.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadConfig
-
Reads a CATSoftwareConfiguration.
- Parameters:
-
- iConfig
- The read CATSoftwareConfiguration.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadDouble
public void ReadDouble( | double& | ioDouble, |
| const char[] | iReservedLabel | = "") |
-
Reads a double.
- Parameters:
-
- ioDouble
- The read double.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadDouble
public void ReadDouble( | double* | ioArrayDouble, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads an array of doubles.
- Parameters:
-
- ioArrayDouble
- The array of doubles to write.
- iNbCell
- The size of ioArrayDouble. If the the count of doubles to read is greater than iNbCell,
nothing is read.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadFloat
public void ReadFloat( | float& | ioFloat, |
| const char[] | iReservedLabel | = "") |
-
Reads a float.
- Parameters:
-
- ioFloat
- The read float.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadFloat
public void ReadFloat( | float* | ioArrayFloat, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads an array of floats.
- Parameters:
-
- ioArrayFloat
- The array of floats to write.
- iNbCell
- The size of ioArrayFloat. If the the count of floats to read is greater than iNbCell,
nothing is read.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadLong
public void ReadLong( | CATLONG32& | ioLong, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATLONG32 integer.
- Parameters:
-
- ioLong
- The read CATLONG32 integer.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadLong
public void ReadLong( | CATLONG32* | ioArrayLong, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATLONG32 integer.
- Parameters:
-
- ioLong
- The read CATLONG32 integer.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadPlane
public void ReadPlane( | CATMathPlane& | ioPlane, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathPlane.
- Parameters:
-
- ioPlane
- The read CATMathPlane.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadPoint
public void ReadPoint( | CATMathPoint& | ioPoint, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathPoint.
- Parameters:
-
- ioPoint
- The read CATMathPoint.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadShort
public void ReadShort( | short& | ioShort, |
| const char[] | iReservedLabel | = "") |
-
Reads a short integer.
- Parameters:
-
- ioShort
- The read short integer.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadShort
public void ReadShort( | short* | ioArrayShort, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads an array of short integers.
- Parameters:
-
- ioArrayShort
- The array of short integers to write.
- iNbCell
- The size of ioArrayShort. If the the count of short integers to read is greater than iNbCell,
nothing is read.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadStream
public void ReadStream( | CATMathStream& | iToRead, |
| size_t | iLengthToRead, |
| const char[] | iReservedLabel | = "") |
-
Reads a stream on this.
- Parameters:
-
- iToRead
- The stream to read.
- iLengthToRead
- the length of iToRead.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadString
public void ReadString( | char*& | ioString, |
| const char[] | iReservedLabel | = "") |
-
Reads a string.
- Parameters:
-
- ioString
- The read string.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadTransformation
-
Reads a CATMathTransformation.
- Parameters:
-
- ioTransfo
- The read CATMathTransformation.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadUChar
public void ReadUChar( | unsigned char& | ioUChar, |
| const char[] | iReservedLabel | = "") |
-
Reads an unsigned char.
- Parameters:
-
- ioUChar
- The read char.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadUChar
public void ReadUChar( | unsigned char* | ioArrayUChar, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads an array of unsigned chars.
- Parameters:
-
- ioArrayUChar
- The array of unsigned chars to write.
- iNbCell
- The size of ioArrayUChar. If the the count of UChars to read is greater than iNbCell,
nothing is read.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadULong
public void ReadULong( | CATULONG32& | ioULong, |
| const char[] | iReservedLabel | = "") |
-
Reads an CATULONG32 integer.
- Parameters:
-
- ioULong
- The read unsigned short integer.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadULong
public void ReadULong( | CATULONG32* | ioArrayULong, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Reads an array of CATULONG32 integers.
- Parameters:
-
- ioArrayULong
- The array of CATLONG32 integers to write.
- iNbCell
- The size of ioArrayULong. If the the count of CATLONG32 integers to read is greater than iNbCell,
nothing is read.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadUShort
public void ReadUShort( | unsigned short& | ioUShort, |
| const char[] | iReservedLabel | = "") |
-
Reads an unsigned short integer.
- Parameters:
-
- ioUShort
- The read unsigned short integer.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadVector
public void ReadVector( | CATMathVector& | ioVector, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathVector.
- Parameters:
-
- ioVector
- The read CATMathVector.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o ReadVector2D
public void ReadVector2D( | CATMathVector2D& | ioVector2D, |
| const char[] | iReservedLabel | = "") |
-
Reads a CATMathVector2D.
- Parameters:
-
- ioVector2D
- The read CATMathVector2D.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o Reset
-
Resets the position to the beginning.
o Write3x3Matrix
public void Write3x3Matrix( | const CATMath3x3Matrix& | ioMatrix, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMath3x3Matrix.
- Parameters:
-
- ioMatrix
- The CATMath3x3Matrix to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteAxis
public void WriteAxis( | const CATMathAxis& | ioAxis, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathAxis.
- Parameters:
-
- ioAxis
- The CATMathAxis to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteBoolean
public void WriteBoolean( | const CATBoolean | iBoolean, |
| const char[] | iReservedLabel | = "") |
-
Writes an CATBoolean.
- Parameters:
-
- iBoolean
- The CATBoolean to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteBox
public void WriteBox( | const CATMathBox& | ioBox, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathBox.
- Parameters:
-
- iBox
- The box to write. The box is written with floats, precision can be lost.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteCATUuid
public void WriteCATUuid( | const CATUuid& | iid, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATUuid.
- Parameters:
-
- iid
- The CATUuid to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteConfig
-
Writes a CATSoftwareConfiguration.
- Parameters:
-
- iConfig
- The CATSoftwareConfiguration to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteDouble
public void WriteDouble( | const double* | iDoubleArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of doubles.
- Parameters:
-
- iDoubleArray
- The array of doubles to write.
- iNbCell
- The count of doubles to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteDouble
public void WriteDouble( | const double | iDouble, |
| const char[] | iReservedLabel | = "") |
-
Writes a double.
- Parameters:
-
- iDouble
- The double to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteFloat
public void WriteFloat( | const float* | iFloatArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of floats.
- Parameters:
-
- iFloatArray
- The array of floats to write.
- iNbCell
- The count of floats to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteFloat
public void WriteFloat( | const float | iFloat, |
| const char[] | iReservedLabel | = "") |
-
Writes a float.
- Parameters:
-
- iFloat
- The float to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteLong
public void WriteLong( | const CATLONG32* | iLongArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of CATLONG32 integers.
- Parameters:
-
- iLongArray
- The array of longs to write.
- iNbCell
- The count of longs to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteLong
public void WriteLong( | const CATLONG32 | iLong, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATLONG32 integer.
- Parameters:
-
- iLong
- The CATLONG32 to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WritePlane
public void WritePlane( | const CATMathPlane& | ioPlane, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathPlane.
- Parameters:
-
- ioPlane
- The CATMathPlane to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WritePoint
public void WritePoint( | const CATMathPoint& | ioPoint, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathPoint.
- Parameters:
-
- ioPoint
- The CATMathPoint to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteShort
public void WriteShort( | const short* | iShortArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of short integers.
- Parameters:
-
- iShortArray
- The array of shorts to write.
- iNbCell
- The count of shorts to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteShort
public void WriteShort( | const short | iShort, |
| const char[] | iReservedLabel | = "") |
-
Writes a short integer.
- Parameters:
-
- iShort
- The short to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteStream
public void WriteStream( | const CATMathStream& | iToWrite, |
| const char[] | iReservedLabel | = "") |
-
Writes the content of a stream on this.
- Parameters:
-
- iToWrite
- The stream
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteString
public void WriteString( | const char* | iString, |
| const char[] | iReservedLabel | = "") |
-
Writes a string.
- Parameters:
-
- iString
- The string to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteTransformation
-
Writes a CATMathTransformation.
- Parameters:
-
- ioTransfo
- The CATMathTransformation to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteUChar
public void WriteUChar( | const unsigned char* | iUCharArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of unsigned chars.
- Parameters:
-
- iUCharArray
- The array of unsigned chars to write.
- iNbCell
- The count of unsigned chars to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteUChar
public void WriteUChar( | const unsigned char | iUChar, |
| const char[] | iReservedLabel | = "") |
-
Writes an unsigned char.
- Parameters:
-
- iUChar
- The unsigned char to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteULong
public void WriteULong( | const CATULONG32* | iULongArray, |
| const CATLONG32 | iNbCell, |
| const char[] | iReservedLabel | = "") |
-
Writes a sequence of CATULONG32 integers.
- Parameters:
-
- iULongArray
- The array of CATULONG32s to write.
- iNbCell
- The count of CATULONG32s to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteULong
public void WriteULong( | const CATULONG32 | iULong, |
| const char[] | iReservedLabel | = "") |
-
Writes an CATULONG32 integer.
- Parameters:
-
- iULong
- The CATULONG32 to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteUShort
public void WriteUShort( | const unsigned short | iUShort, |
| const char[] | iReservedLabel | = "") |
-
Writes an unsigned short integer.
- Parameters:
-
- iUShort
- The unsigned short to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteVector
public void WriteVector( | const CATMathVector& | ioVector, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathVector.
- Parameters:
-
- ioVector
- The CATMathVector to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
o WriteVector2D
public void WriteVector2D( | const CATMathVector2D& | ioVector2D, |
| const char[] | iReservedLabel | = "") |
-
Writes a CATMathVector2D.
- Parameters:
-
- ioVector2D
- The CATMathVector2D to write.
- iReservedLabel
- Reserved for future use. Do not change the default value.
This object is included in the file: CATMathStream.h
If needed, your Imakefile.mk should include the module: CATMathStream