FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | Friends | List of all members
FFlReaders Class Reference

#include <FFlReaders.H>

Inheritance diagram for FFlReaders:
Inheritance graph
[legend]
Collaboration diagram for FFlReaders:
Collaboration graph
[legend]

Public Member Functions

bool registerReader (const std::string &name, const std::string &ext, const FFaDynCB2< const std::string &, FFlLinkHandler * > &readerCB, const FFaDynCB2< const std::string &, int & > &identifierCB, const std::string &info1, const std::string &info2)
 
void getRegisteredReaders (std::vector< FFlReaderInfo > &infoData, bool includeDefaultReader=true) const
 
const FFlReaderInfo & getDefaultReader () const
 
void setDefaultReader (const std::string &name)
 
void addExtension (const std::string &name, const std::string &ext)
 
int read (const std::string &fileName, FFlLinkHandler *link)
 

Static Public Attributes

static char convertToLinear = 0
 

Protected Member Functions

 FFlReaders ()
 
virtual ~FFlReaders ()
 
- Protected Member Functions inherited from FFaSingelton< FFlReaders >
 FFaSingelton ()
 The constructor is protected to allow objects of sub-classes only. More...
 
 FFaSingelton (const FFaSingelton &)=delete
 Disable default copy constructor. More...
 
FFaSingelton & operator= (const FFaSingelton &)=delete
 Disable default assignment operator. More...
 

Private Attributes

std::vector< FFlReaderData > myReaders
 
unsigned int defaultReader
 

Friends

class FFaSingelton< FFlReaders >
 

Additional Inherited Members

- Static Public Member Functions inherited from FFaSingelton< FFlReaders >
static FFlReaders * instance ()
 Returns the actual instance of this class. More...
 
static void removeInstance ()
 Deletes the dynamically allocated instance. More...
 
static bool allocated ()
 Returns true, if the instance has been allocated. More...
 

Constructor & Destructor Documentation

◆ FFlReaders()

FFlReaders::FFlReaders ( )
inlineprotected

◆ ~FFlReaders()

virtual FFlReaders::~FFlReaders ( )
inlineprotectedvirtual

Member Function Documentation

◆ addExtension()

void FFlReaders::addExtension ( const std::string &  name,
const std::string &  ext 
)

◆ getDefaultReader()

const FFlReaderInfo & FFlReaders::getDefaultReader ( ) const

◆ getRegisteredReaders()

void FFlReaders::getRegisteredReaders ( std::vector< FFlReaderInfo > &  infoData,
bool  includeDefaultReader = true 
) const

◆ read()

int FFlReaders::read ( const std::string &  fileName,
FFlLinkHandler *  link 
)

◆ registerReader()

bool FFlReaders::registerReader ( const std::string &  name,
const std::string &  ext,
const FFaDynCB2< const std::string &, FFlLinkHandler * > &  readerCB,
const FFaDynCB2< const std::string &, int & > &  identifierCB,
const std::string &  info1,
const std::string &  info2 
)

◆ setDefaultReader()

void FFlReaders::setDefaultReader ( const std::string &  name)

Friends And Related Function Documentation

◆ FFaSingelton< FFlReaders >

friend class FFaSingelton< FFlReaders >
friend

Member Data Documentation

◆ convertToLinear

char FFlReaders::convertToLinear = 0
static

◆ defaultReader

unsigned int FFlReaders::defaultReader
private

◆ myReaders

std::vector<FFlReaderData> FFlReaders::myReaders
private

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