Public Types | Public Member Functions

base::StatT< sizeT, traits > Class Template Reference

stat template for files (up to 4 GB) and large files (larger than 4 GB) More...

#include <libppbase/base/Stat.h>

Inheritance diagram for base::StatT< sizeT, traits >:
base::StatBase

List of all members.

Public Types

typedef traits::stat_type stat_type
 data type for stat

Public Member Functions

 StatT ()
 Constructor.
 StatT (const stat_type &st, bool utc=false)
 Constructor.
sizeT getSize () const
 Get file size.

Detailed Description

template<class sizeT, class traits = SizeTraits<sizeT>>
class base::StatT< sizeT, traits >

stat template for files (up to 4 GB) and large files (larger than 4 GB)


Constructor & Destructor Documentation

template<class sizeT , class traits = SizeTraits<sizeT>>
base::StatT< sizeT, traits >::StatT ( const stat_type st,
bool  utc = false 
) [inline]

Constructor.

Parameters:
st inizialize this object with st
utc flag: file times are UTC times

Member Function Documentation

template<class sizeT , class traits = SizeTraits<sizeT>>
sizeT base::StatT< sizeT, traits >::getSize (  )  const [inline]

Get file size.

Returns:
file size in bytes

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