Nebula
Loading...
Searching...
No Matches
Posix::PosixFileTime Class Reference

#include <posixfiletime.h>

Detailed Description

Implements a Posix-specific file-access time stamp.

(C) 2006 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file

Public Member Functions

 PosixFileTime ()
 constructor
 
 PosixFileTime (const Util::String &str)
 construct from string
 
uint GetHighBits () const
 get high bits of internal time structure (resolution is platform dependent!)
 
uint GetLowBits () const
 get log bits of internal time structure (resolution is platform dependent!)
 
void SetBits (uint lowbits, uint highbits)
 set both parts of time (platform dependent)
 
Util::String AsString () const
 convert to string
 

Private Attributes

timespec time
 

Friends

class PosixFSWrapper
 
class PosixCalendarTime
 
bool operator== (const PosixFileTime &a, const PosixFileTime &b)
 operator ==
 
bool operator!= (const PosixFileTime &a, const PosixFileTime &b)
 operator !=
 
bool operator> (const PosixFileTime &a, const PosixFileTime &b)
 operator >
 
bool operator< (const PosixFileTime &a, const PosixFileTime &b)
 operator <
 

Constructor & Destructor Documentation

◆ PosixFileTime() [1/2]

Posix::PosixFileTime::PosixFileTime ( )
inline

constructor

◆ PosixFileTime() [2/2]

Posix::PosixFileTime::PosixFileTime ( const Util::String & str)

construct from string

Member Function Documentation

◆ AsString()

Util::String Posix::PosixFileTime::AsString ( ) const

convert to string

◆ GetHighBits()

uint Posix::PosixFileTime::GetHighBits ( ) const
inline

get high bits of internal time structure (resolution is platform dependent!)

◆ GetLowBits()

uint Posix::PosixFileTime::GetLowBits ( ) const
inline

get log bits of internal time structure (resolution is platform dependent!)

◆ SetBits()

void Posix::PosixFileTime::SetBits ( uint lowbits,
uint highbits )
inline

set both parts of time (platform dependent)

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const PosixFileTime & a,
const PosixFileTime & b )
friend

operator !=

◆ operator<

bool operator< ( const PosixFileTime & a,
const PosixFileTime & b )
friend

operator <

◆ operator==

bool operator== ( const PosixFileTime & a,
const PosixFileTime & b )
friend

operator ==

◆ operator>

bool operator> ( const PosixFileTime & a,
const PosixFileTime & b )
friend

operator >

◆ PosixCalendarTime

friend class PosixCalendarTime
friend

◆ PosixFSWrapper

friend class PosixFSWrapper
friend

Member Data Documentation

◆ time

timespec Posix::PosixFileTime::time
private

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