HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_Stat Class Reference

#include <OP_Stat.h>

Public Member Functions

 OP_Stat ()
 
 ~OP_Stat ()
 
bool load (UT_IStream &is, unsigned *permission)
 
bool save (std::ostream &os, unsigned permission=0777)
 
void touch ()
 
time_t getCreateTime () const
 
time_t getModifyTime () const
 
bool isAuthorCurrentUser () const
 
const UT_StringHoldergetAuthor () const
 
void setAuthor (const UT_StringRef &name)
 
int64 getMemoryUsage (bool inclusive) const
 

Detailed Description

Definition at line 33 of file OP_Stat.h.

Constructor & Destructor Documentation

OP_Stat::OP_Stat ( )
OP_Stat::~OP_Stat ( )

Member Function Documentation

const UT_StringHolder& OP_Stat::getAuthor ( ) const
time_t OP_Stat::getCreateTime ( ) const
inline

Definition at line 43 of file OP_Stat.h.

int64 OP_Stat::getMemoryUsage ( bool  inclusive) const
inline

Definition at line 53 of file OP_Stat.h.

time_t OP_Stat::getModifyTime ( ) const
inline

Definition at line 44 of file OP_Stat.h.

bool OP_Stat::isAuthorCurrentUser ( ) const
inline

Definition at line 46 of file OP_Stat.h.

bool OP_Stat::load ( UT_IStream is,
unsigned *  permission 
)
bool OP_Stat::save ( std::ostream &  os,
unsigned  permission = 0777 
)
void OP_Stat::setAuthor ( const UT_StringRef name)
void OP_Stat::touch ( )

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