OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    LDOM_OSStream Class Reference

    Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear(). More...

    #include <LDOM_OSStream.hxx>

    Inheritance diagram for LDOM_OSStream:

    Public Types

    enum  BOMType {
      BOM_UNDEFINED , BOM_UTF8 , BOM_UTF16BE , BOM_UTF16LE ,
      BOM_UTF32BE , BOM_UTF32LE , BOM_UTF7 , BOM_UTF1 ,
      BOM_UTFEBCDIC , BOM_SCSU , BOM_BOCU1 , BOM_GB18030
    }

    Public Member Functions

     LDOM_OSStream (const int theMaxBuf)
     Constructor.
     ~LDOM_OSStream () override
    const char * str () const
    int Length () const
    void Clear ()

    Detailed Description

    Subclass if std::ostream allowing to increase performance of outputting data into a string avoiding reallocation of buffer. Class LDOM_OSStream implements output into a sequence of strings and getting the result as a string. It inherits Standard_OStream (std::ostream). Beside methods of std::ostream, it also has additional useful methods: str(), Length() and Clear().

    Member Enumeration Documentation

    ◆ BOMType

    Enumerator
    BOM_UNDEFINED 
    BOM_UTF8 
    BOM_UTF16BE 
    BOM_UTF16LE 
    BOM_UTF32BE 
    BOM_UTF32LE 
    BOM_UTF7 
    BOM_UTF1 
    BOM_UTFEBCDIC 
    BOM_SCSU 
    BOM_BOCU1 
    BOM_GB18030 

    Constructor & Destructor Documentation

    ◆ LDOM_OSStream()

    LDOM_OSStream::LDOM_OSStream ( const int theMaxBuf)

    Constructor.

    ◆ ~LDOM_OSStream()

    LDOM_OSStream::~LDOM_OSStream ( )
    override

    Member Function Documentation

    ◆ Clear()

    void LDOM_OSStream::Clear ( )
    inline

    ◆ Length()

    int LDOM_OSStream::Length ( ) const
    inline

    ◆ str()

    const char * LDOM_OSStream::str ( ) const
    inline

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