Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions
BinTools_SurfaceSet Class Reference

Stores a set of Surfaces from Geom in binary format.
More...

#include <BinTools_SurfaceSet.hxx>

Public Member Functions

 BinTools_SurfaceSet ()
 Returns an empty set of Surfaces.
More...
 
void Clear ()
 Clears the content of the set.
More...
 
Standard_Integer Add (const Handle< Geom_Surface > &S)
 Incorporate a new Surface in the set and returns
its index.
More...
 
Handle_Geom_Surface Surface (const Standard_Integer I) const
 Returns the Surface of index .
More...
 
Standard_Integer Index (const Handle< Geom_Surface > &S) const
 Returns the index of <L>.
More...
 
void Write (Standard_OStream &OS) const
 Writes the content of me on the stream <OS> in
binary format that can be read back by Read.
More...
 
void Read (Standard_IStream &IS)
 
 Reads the content of me from the  stream  <IS>. me <br>
     is first cleared. <br>


More...

 

Static Public Member Functions

static void WriteSurface (const Handle< Geom_Surface > &S, Standard_OStream &OS)
 Dumps the surface on the stream in binary
format that can be read back.
More...
 
static Standard_IStreamReadSurface (Standard_IStream &IS, Handle< Geom_Surface > &S)
 
 Reads the surface  from  the stream.  The  surface  is <br>
     assumed   to have  been  written  with  the Write <br>
     method. <br>


More...

 

Detailed Description

Stores a set of Surfaces from Geom in binary format.

Constructor & Destructor Documentation

BinTools_SurfaceSet::BinTools_SurfaceSet ( )

Returns an empty set of Surfaces.

Member Function Documentation

Standard_Integer BinTools_SurfaceSet::Add ( const Handle< Geom_Surface > &  S)

Incorporate a new Surface in the set and returns
its index.

void BinTools_SurfaceSet::Clear ( )

Clears the content of the set.

Standard_Integer BinTools_SurfaceSet::Index ( const Handle< Geom_Surface > &  S) const

Returns the index of <L>.

void BinTools_SurfaceSet::Read ( Standard_IStream IS)

 Reads the content of me from the  stream  <IS>. me <br>
     is first cleared. <br>


static Standard_IStream& BinTools_SurfaceSet::ReadSurface ( Standard_IStream IS,
Handle< Geom_Surface > &  S 
)
static

 Reads the surface  from  the stream.  The  surface  is <br>
     assumed   to have  been  written  with  the Write <br>
     method. <br>


Handle_Geom_Surface BinTools_SurfaceSet::Surface ( const Standard_Integer  I) const

Returns the Surface of index .

void BinTools_SurfaceSet::Write ( Standard_OStream OS) const

Writes the content of me on the stream <OS> in
binary format that can be read back by Read.

static void BinTools_SurfaceSet::WriteSurface ( const Handle< Geom_Surface > &  S,
Standard_OStream OS 
)
static

Dumps the surface on the stream in binary
format that can be read back.


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