Hide menu
Loading...
Searching...
No Matches
cadex::JT_Writer Class Reference

Writes JT files. More...

#include <cadex/JT_Writer.hxx>

Inheritance diagram for cadex::JT_Writer:
cadex::Base_Writer

Public Member Functions

 JT_Writer ()
 Creates an object.
 
const JT_WriterParametersParameters () const
 Returns parameters.
 
JT_WriterParametersParameters ()
 Returns parameters.
 
- Public Member Functions inherited from cadex::Base_Writer
 ~Base_Writer ()
 Destructor.
 
bool Transfer (const ModelData_Model &theModel)
 Converts source model into memory representation of the target file.
 
bool Transfer (const ModelData_BIMModel &theModel)
 Converts source model into memory representation of the target file.
 
bool Transfer (const TopoDS_Shape &theShape)
 Converts source shape into memory representation of the target file.
 
bool WriteFile (const Base_UTF16String &theFileName)
 Writes contents to a target file.
 
bool WriteFile (std::ostream &theStream)
 Writes contents to a target stream.
 
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 
Base_WriterStatistics Statistics () const
 Returns an object containing information about export process.
 
internal::Base_Writer_Private * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Writer
 Base_Writer (internal::Base_Writer_Private *theImpl)
 Constructor.
 

Detailed Description

Writes JT files.

Refer to JT Converter.

WriteFile() overload accepting an ostream can only be used to write monolithic files. To enforce creating monolithic files the JT_WriterParameters::FileSplitMode() parameter must be set to JT_WriterParameters::Monolithic prior to invoking the Transfer() method.

Constructor & Destructor Documentation

◆ JT_Writer()

cadex::JT_Writer::JT_Writer ( )

Creates an object.

Empty constructor.

Exceptions
LicenseManager_LicenseErrorif no JT license was activated.