CAD Exchanger SDK
cadex::JT_Reader Class Reference

Reads JT files. More...

Inheritance diagram for cadex::JT_Reader:
cadex::Base_Reader

Public Member Functions

 JT_Reader ()
 Creates an object. More...
 
const JT_ReaderParametersParameters () const
 Returns parameters.
 
JT_ReaderParametersParameters ()
 Returns parameters.
 
- Public Member Functions inherited from cadex::Base_Reader
 ~Base_Reader ()
 Destructor.
 
bool ReadFile (const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool ReadFile (std::istream &theStream)
 Reads the file into memory. More...
 
bool ReadFile (const std::shared_ptr< Base_IStreamProviderFactory > &theFactory, const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool Transfer (ModelData_Model &theModel)
 Converts read file into a resulting model. More...
 
bool Transfer (TopoDS_Shape &theShape)
 Converts read file into a resulting shape. More...
 
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 
internal::Base_Reader_Private * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Reader
 Base_Reader (internal::Base_Reader_Private *theImpl)
 Constructor.
 

Detailed Description

Reads JT files.

Refer to JT Converter.

Warning
ReadFile() overload accepting a stream cannot be used. Instead, use the overload accepting a file name or the one accepting a stream provider factory.
Note
ReadFile() throws:
Examples:
modelexplorer/main.cxx.

Constructor & Destructor Documentation

◆ JT_Reader()

cadex::JT_Reader::JT_Reader ( )

Creates an object.

Empty constructor.

Exceptions
LicenseManager_LicenseErrorif no JT license was activated.