Data Access Library (DAL)
 All Classes Functions Variables Typedefs Friends
Public Types | Public Member Functions | Static Public Member Functions | Friends
dal::FileInfo Class Reference

#include <FileInfo.h>

List of all members.

Public Types

typedef int FileMode

Public Member Functions

 FileInfo (const std::string &fullFilename, FileMode fileMode, const std::string &versionAttrName)
 FileInfo (const FileInfo &other)
FileInfooperator= (FileInfo rhs)
const std::string & filename () const
int fileDirfd () const
FileMode fileMode () const
const std::string & versionAttrName () const
VersionTypefileVersion () const
void setFileVersion (const VersionType &newVersion)

Static Public Member Functions

static std::string getBasename (const std::string &filename)
 C++ interface to basename(3). Returns filename without path.
static std::string getDirname (const std::string &filename)
 C++ interface to dirname(3). Returns path of filename.

Friends

void swap (FileInfo &fi0, FileInfo &fi1)

Detailed Description

A FileInfo object is a reference to a reference counted FileInfoType object. All FileInfoType members are read-only, except fileVersion. For more detail, see class FileInfoType, which stores the actual data.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Friends