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

A directory is a collection of documents. There is only one instance
of a given document in a directory.
put.

#include <CDF_Directory.hxx>

Inheritance diagram for CDF_Directory:
Inheritance graph
[legend]

Public Member Functions

 CDF_Directory ()
 Creates an empty directory.

void Add (const Handle< CDM_Document > &aDocument)
 adds a document into the directory.

void Remove (const Handle< CDM_Document > &aDocument)
 removes the document.

Standard_Boolean Contains (const Handle< CDM_Document > &aDocument) const
 Returns true if the document aDocument is in the directory

Handle_CDM_Document Last ()
 returns the last document (if any) which has been added
in the directory.

Standard_Integer Length () const
 returns the number of documents of the directory.

Standard_Boolean IsEmpty () const
 returns true if the directory is empty.


Constructor & Destructor Documentation


Member Function Documentation

Handle_CDM_Document CDF_Directory::Last ( )

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