|
| | PCDM_ReaderFilter () |
| | Creates an empty filter, so, all will be retrieved if nothing else is defined.
|
| | PCDM_ReaderFilter (const occ::handle< Standard_Type > &theSkipped) |
| | Creates a filter to skip only one type of attributes.
|
| | PCDM_ReaderFilter (const TCollection_AsciiString &theEntryToRead) |
| | Creates a filter to read only sub-labels of a label-path. Like, for "0:2" it will read all attributes for labels "0:2", "0:2:1", etc.
|
| | PCDM_ReaderFilter (const AppendMode theAppend) |
| | Creates a filter to append the content of file to open to existing document.
|
| | ~PCDM_ReaderFilter () override |
| | Destructor for the filter content.
|
| void | AddSkipped (const occ::handle< Standard_Type > &theSkipped) |
| | Adds skipped attribute by type.
|
| void | AddSkipped (const TCollection_AsciiString &theSkipped) |
| | Adds skipped attribute by type name.
|
| void | AddRead (const occ::handle< Standard_Type > &theRead) |
| | Adds attribute to read by type. Disables the skipped attributes added.
|
| void | AddRead (const TCollection_AsciiString &theRead) |
| | Adds attribute to read by type name. Disables the skipped attributes added.
|
| void | AddPath (const TCollection_AsciiString &theEntryToRead) |
| | Adds sub-tree path (like "0:2").
|
| void | Clear () |
| | Makes filter pass all data.
|
| virtual bool | IsPassed (const occ::handle< Standard_Type > &theAttributeID) const |
| | Returns true if attribute must be read.
|
| virtual bool | IsPassedAttr (const TCollection_AsciiString &theAttributeType) const |
| | Returns true if attribute must be read.
|
| virtual bool | IsPassed (const TCollection_AsciiString &theEntry) const |
| | Returns true if content of the label must be read.
|
| virtual bool | IsSubPassed (const TCollection_AsciiString &theEntry) const |
| | Returns true if some sub-label of the given label is passed.
|
| virtual bool | IsPartTree () |
| | Returns true if only part of the document tree will be retrieved.
|
| AppendMode & | Mode () |
| | Returns the append mode.
|
| bool | IsAppendMode () |
| | Returns true if appending to the document is performed.
|
| virtual void | StartIteration () |
| | Starts the tree iterator. It is used for fast searching of passed labels if the whole tree of labels is parsed. So, on each iteration step the methods Up and Down must be called after the iteration start.
|
| virtual void | Up () |
| | Iteration to the child label.
|
| virtual void | Down (const int &theTag) |
| | Iteration to the child with defined tag.
|
| virtual bool | IsPassed () const |
| | Returns true if content of the currently iterated label must be read.
|
| virtual bool | IsSubPassed () const |
| | Returns true if some sub-label of the currently iterated label is passed.
|
| Public Member Functions inherited from Standard_Transient |
| | Standard_Transient () |
| | Empty constructor.
|
| | Standard_Transient (const Standard_Transient &) |
| | Copy constructor – does nothing.
|
| Standard_Transient & | operator= (const Standard_Transient &) |
| | Assignment operator, needed to avoid copying reference counter.
|
| virtual | ~Standard_Transient ()=default |
| | Destructor must be virtual.
|
| virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
| | Returns a type descriptor about this object.
|
| bool | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
| | Returns a true value if this is an instance of Type.
|
| bool | IsInstance (const char *const theTypeName) const |
| | Returns a true value if this is an instance of TypeName.
|
| bool | IsKind (const opencascade::handle< Standard_Type > &theType) const |
| | Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| bool | IsKind (const char *const theTypeName) const |
| | Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
|
| Standard_Transient * | This () const |
| | Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero.
|
| int | GetRefCount () const noexcept |
| | Get the reference counter of this object.
|
| void | IncrementRefCounter () noexcept |
| | Increments the reference counter of this object. Uses relaxed memory ordering since incrementing only requires atomicity, not synchronization with other memory operations.
|
| int | DecrementRefCounter () noexcept |
| | Decrements the reference counter of this object; returns the decremented value. Uses release ordering for the decrement to ensure all writes to the object are visible before the count reaches zero. An acquire fence is added only when the count reaches zero, ensuring proper synchronization before deletion. This is more efficient than using acq_rel for every decrement.
|
| virtual void | Delete () const |
| | Memory deallocator for transient classes.
|
Class represents a document reading filter.
It allows to set attributes (by class names) that must be skipped during the document reading or attributes that must be retrieved only. In addition it is possible to define one or several subtrees (by entry) which must be retrieved during the reading. Other labels are created, but no one attribute on them.