# MI - Fimex: felt::FeltFile Class Reference

# felt::FeltFile Class Reference

`#include <FeltFile.h>`

List of all members.

## Public Types

typedef size_t | size_type
typedef boost::shared_ptr < FeltField > | FeltFieldPtr
typedef std::vector < FeltFieldPtr > ::const_iterator | iterator
typedef iterator | const_iterator

## Public Member Functions

| FeltFile (const boost::filesystem::path &file)
| ~FeltFile ()
size_type | size () const
bool | empty () const
const boost::filesystem::path & | fileName () const
std::string | information () const
boost::posix_time::ptime | lastUpdateTime () const
boost::posix_time::ptime | referenceTime () const
boost::posix_time::ptime | firstTime () const
boost::posix_time::ptime | lastTime () const
iterator | begin ()
iterator | end ()
const_iterator | begin () const
const_iterator | end () const
const FeltField & | at (size_t idx) const
| throws std::out_of_range if idx is too large.

## Static Public Member Functions

static void | log (const std::string &msg)
static void | setLogStream (std::ostream &o)
static void | setLogging (bool enableLogging)
static bool | isLogging ()

## Friends

class | FeltField

## Member Typedef Documentation

typedef size_t felt::FeltFile::size_type

typedef boost::shared_ptr<FeltField> felt::FeltFile::FeltFieldPtr

typedef std::vector<FeltFieldPtr>::const_iterator felt::FeltFile::iterator

typedef iterator felt::FeltFile::const_iterator

## Constructor & Destructor Documentation

felt::FeltFile::FeltFile | ( | const boost::filesystem::path & | file | ) | `[explicit]`

felt::FeltFile::~FeltFile | ( |  | ) |

## Member Function Documentation

size_type felt::FeltFile::size | ( |  | ) | const

Referenced by empty().

bool felt::FeltFile::empty | ( |  | ) | const`[inline]`

References size().

const boost::filesystem::path& felt::FeltFile::fileName | ( |  | ) | const`[inline]`

std::string felt::FeltFile::information | ( |  | ) | const

boost::posix_time::ptime felt::FeltFile::lastUpdateTime | ( |  | ) | const

boost::posix_time::ptime felt::FeltFile::referenceTime | ( |  | ) | const

boost::posix_time::ptime felt::FeltFile::firstTime | ( |  | ) | const

boost::posix_time::ptime felt::FeltFile::lastTime | ( |  | ) | const

iterator felt::FeltFile::begin | ( |  | ) |

iterator felt::FeltFile::end | ( |  | ) |

const_iterator felt::FeltFile::begin | ( |  | ) | const

const_iterator felt::FeltFile::end | ( |  | ) | const

const FeltField& felt::FeltFile::at | ( | size_t | idx | ) | const

throws std::out_of_range if idx is too large.

static void felt::FeltFile::log | ( | const std::string & | msg | ) | `[static]`

static void felt::FeltFile::setLogStream | ( | std::ostream & | o | ) | `[static]`

static void felt::FeltFile::setLogging | ( | bool | enableLogging | ) | `[static]`

static bool felt::FeltFile::isLogging | ( |  | ) | `[static]`

## Friends And Related Function Documentation

friend class FeltField `[friend]`

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

- include/felt/FeltFile.h