Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TopTools_LocationSet Class Reference

The class LocationSet stores a set of location in
a relocatable state.

It can be created from Locations.

It can create Locations.

It can be write and read from a stream.

#include <TopTools_LocationSet.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC TopTools_LocationSet ()
 Returns an empty set of locations.

void Clear ()
 Clears the content of the set.

Standard_Integer Add (const TopLoc_Location &L)
 Incorporate a new Location in the set and returns
its index.

const TopLoc_LocationLocation (const Standard_Integer I) const
 Returns the location of index .


Standard_Integer Index (const TopLoc_Location &L) const
 Returns the index of <L>.

void Dump (Standard_OStream &OS) const
 Dumps the content of me on the stream <OS>.

void Write (Standard_OStream &OS) const
 Writes the content of me on the stream <OS> in a
format that can be read back by Read.

void Read (Standard_IStream &IS)
 Reads the content of me from the stream <IS>. me
is first cleared.


void SetProgress (const Handle< Message_ProgressIndicator > &PR)
Handle_Message_ProgressIndicator GetProgress () const

Constructor & Destructor Documentation


Member Function Documentation

Handle_Message_ProgressIndicator TopTools_LocationSet::GetProgress ( ) const

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