MIDAS  0.75
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
midaspace::FiLe Class Reference

#include <taux.h>

Public Member Functions

 FiLe (femFileFormat form, const char *mp, const char *fn)
 CONSTRUCTOR. More...
 
 FiLe (femFileFormat form, const char *p, const char *b, const char *s)
 CONSTRUCTOR. More...
 
virtual ~FiLe ()
 DESTRUCTOR. More...
 
void addGlobPath (const char *globpath)
 
void set_empty_name_from_base (FiLe *src)
 
void decompose (void)
 
void compose (void)
 
const char * give_path (void) const
 
const char * give_base (void) const
 
const char * give_suff (void) const
 
const char * give_name_or_null (void) const
 
const char * give_name (void) const
 
femFileFormat give_ff (void) const
 
MMprocessing give_mmp (void) const
 
bool is_empty (void) const
 

Protected Attributes

femFileFormat format
 variables associated with the file More...
 
MMprocessing mmp
 
bool decomposed
 state of file name More...
 
char * path
 file name More...
 
char * base
 
char * suff
 
char * name
 

Detailed Description

Definition at line 42 of file taux.h.

Constructor & Destructor Documentation

midaspace::FiLe::FiLe ( femFileFormat  form,
const char *  mp,
const char *  fn 
)
inline

CONSTRUCTOR.

Definition at line 61 of file taux.h.

References base, decomposed, format, mmp, midaspace::MMP_Void, midaspace::MMprocessingStoE(), name, path, midaspace::strdupl(), and suff.

midaspace::FiLe::FiLe ( femFileFormat  form,
const char *  p,
const char *  b,
const char *  s 
)
inline

CONSTRUCTOR.

Definition at line 73 of file taux.h.

References base, decomposed, format, name, path, midaspace::strdupl(), and suff.

virtual midaspace::FiLe::~FiLe ( )
inlinevirtual

DESTRUCTOR.

Definition at line 83 of file taux.h.

References base, name, path, and suff.

Member Function Documentation

void midaspace::FiLe::addGlobPath ( const char *  globpath)
inline
void midaspace::FiLe::compose ( void  )
inline

Definition at line 123 of file taux.h.

References base, errol, name, path, midaspace::strdupl(), and suff.

Referenced by give_name().

void midaspace::FiLe::decompose ( void  )
inline

Definition at line 112 of file taux.h.

References base, decomposed, midaspace::filename_decomposition(), name, path, and suff.

const char* midaspace::FiLe::give_base ( void  ) const
inline
femFileFormat midaspace::FiLe::give_ff ( void  ) const
inline
MMprocessing midaspace::FiLe::give_mmp ( void  ) const
inline

Definition at line 148 of file taux.h.

References mmp.

const char* midaspace::FiLe::give_name ( void  ) const
inline
const char* midaspace::FiLe::give_name_or_null ( void  ) const
inline
const char* midaspace::FiLe::give_path ( void  ) const
inline
const char* midaspace::FiLe::give_suff ( void  ) const
inline

Definition at line 143 of file taux.h.

References decomposed, and suff.

bool midaspace::FiLe::is_empty ( void  ) const
inline

Definition at line 150 of file taux.h.

References base, and name.

Referenced by midaspace::Problem::checkConsistency(), and give_name_or_null().

void midaspace::FiLe::set_empty_name_from_base ( FiLe src)
inline

Definition at line 106 of file taux.h.

References give_base(), name, and midaspace::strdupl().

Referenced by midaspace::Problem::initialization().

Member Data Documentation

char* midaspace::FiLe::base
protected

Definition at line 54 of file taux.h.

Referenced by compose(), decompose(), FiLe(), give_base(), is_empty(), and ~FiLe().

bool midaspace::FiLe::decomposed
protected

state of file name

Definition at line 50 of file taux.h.

Referenced by addGlobPath(), decompose(), FiLe(), give_base(), give_path(), and give_suff().

femFileFormat midaspace::FiLe::format
protected

variables associated with the file

Definition at line 46 of file taux.h.

Referenced by FiLe(), and give_ff().

MMprocessing midaspace::FiLe::mmp
protected

Definition at line 47 of file taux.h.

Referenced by FiLe(), and give_mmp().

char* midaspace::FiLe::name
protected
char* midaspace::FiLe::path
protected

file name

Definition at line 53 of file taux.h.

Referenced by addGlobPath(), compose(), decompose(), FiLe(), give_path(), and ~FiLe().

char* midaspace::FiLe::suff
protected

Definition at line 55 of file taux.h.

Referenced by compose(), decompose(), FiLe(), give_suff(), and ~FiLe().


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