Developer documentation | Axl-2.5.1

axlOFFReader Class Reference

#include <axlOFFReader.h>

Inheritance diagram for axlOFFReader:

Public Slots

bool canRead (const QString &file)
 Check that the file can be read by this type of reader. More...
 
bool read (const QString &file)
 Read the file which is supposed to be of right type OFF and create a data. More...
 

Public Member Functions

 axlOFFReader (void)
 
 ~axlOFFReader (void)
 
QString identifier (void) const
 Return the identifier "axlOFFReader". More...
 
QString description (void) const
 Return a description of the reader. More...
 
QStringList handled (void) const
 Return the type of file that the reader is able to read : "OFF files (.OFF, .off)" . More...
 

Static Public Member Functions

static bool registered (void)
 Register this reader type in the factory. More...
 

Detailed Description

Definition at line 24 of file axlOFFReader.h.

Constructor & Destructor Documentation

axlOFFReader::axlOFFReader ( void  )

Definition at line 28 of file axlOFFReader.cpp.

axlOFFReader::~axlOFFReader ( void  )

Definition at line 33 of file axlOFFReader.cpp.

Member Function Documentation

bool axlOFFReader::canRead ( const QString &  file)
slot

Check that the file can be read by this type of reader.

Definition at line 83 of file axlOFFReader.cpp.

QString axlOFFReader::description ( void  ) const

Return a description of the reader.

Definition at line 53 of file axlOFFReader.cpp.

QStringList axlOFFReader::handled ( void  ) const

Return the type of file that the reader is able to read : "OFF files (.OFF, .off)" .

Definition at line 63 of file axlOFFReader.cpp.

QString axlOFFReader::identifier ( void  ) const

Return the identifier "axlOFFReader".

Definition at line 43 of file axlOFFReader.cpp.

bool axlOFFReader::read ( const QString &  file)
slot

Read the file which is supposed to be of right type OFF and create a data.

Return true if the data is correctly created, else return false.

Definition at line 109 of file axlOFFReader.cpp.

bool axlOFFReader::registered ( void  )
static

Register this reader type in the factory.

Definition at line 73 of file axlOFFReader.cpp.


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