Open CASCADE Technology  7.1.0.beta
Static Public Member Functions

BinTools Class Reference

Tool to keep shapes in binary format. More...

#include <BinTools.hxx>

Static Public Member Functions

static Standard_OStreamPutReal (Standard_OStream &OS, const Standard_Real theValue)
 
static Standard_OStreamPutInteger (Standard_OStream &OS, const Standard_Integer theValue)
 
static Standard_OStreamPutBool (Standard_OStream &OS, const Standard_Boolean theValue)
 
static Standard_OStreamPutExtChar (Standard_OStream &OS, const Standard_ExtCharacter theValue)
 
static Standard_IStreamGetReal (Standard_IStream &IS, Standard_Real &theValue)
 
static Standard_IStreamGetInteger (Standard_IStream &IS, Standard_Integer &theValue)
 
static Standard_IStreamGetBool (Standard_IStream &IS, Standard_Boolean &theValue)
 
static Standard_IStreamGetExtChar (Standard_IStream &IS, Standard_ExtCharacter &theValue)
 
static void Write (const TopoDS_Shape &theShape, Standard_OStream &theStream)
 Writes <theShape> on <theStream> in binary format. More...
 
static void Read (TopoDS_Shape &theShape, Standard_IStream &theStream)
 Reads a shape from <theStream> and returns it in <theShape>. More...
 
static Standard_Boolean Write (const TopoDS_Shape &theShape, const Standard_CString theFile)
 Writes <theShape> in <theFile>. More...
 
static Standard_Boolean Read (TopoDS_Shape &theShape, const Standard_CString theFile)
 Reads a shape from <theFile> and returns it in <theShape>. More...
 

Detailed Description

Tool to keep shapes in binary format.

Member Function Documentation

static Standard_IStream& BinTools::GetBool ( Standard_IStream IS,
Standard_Boolean theValue 
)
static
static Standard_IStream& BinTools::GetExtChar ( Standard_IStream IS,
Standard_ExtCharacter theValue 
)
static
static Standard_IStream& BinTools::GetInteger ( Standard_IStream IS,
Standard_Integer theValue 
)
static
static Standard_IStream& BinTools::GetReal ( Standard_IStream IS,
Standard_Real theValue 
)
static
static Standard_OStream& BinTools::PutBool ( Standard_OStream OS,
const Standard_Boolean  theValue 
)
static
static Standard_OStream& BinTools::PutExtChar ( Standard_OStream OS,
const Standard_ExtCharacter  theValue 
)
static
static Standard_OStream& BinTools::PutInteger ( Standard_OStream OS,
const Standard_Integer  theValue 
)
static
static Standard_OStream& BinTools::PutReal ( Standard_OStream OS,
const Standard_Real  theValue 
)
static
static void BinTools::Read ( TopoDS_Shape theShape,
Standard_IStream theStream 
)
static

Reads a shape from <theStream> and returns it in <theShape>.

static Standard_Boolean BinTools::Read ( TopoDS_Shape theShape,
const Standard_CString  theFile 
)
static

Reads a shape from <theFile> and returns it in <theShape>.

static void BinTools::Write ( const TopoDS_Shape theShape,
Standard_OStream theStream 
)
static

Writes <theShape> on <theStream> in binary format.

static Standard_Boolean BinTools::Write ( const TopoDS_Shape theShape,
const Standard_CString  theFile 
)
static

Writes <theShape> in <theFile>.


The documentation for this class was generated from the following file: