Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

pan_beutil_time_t Struct Reference
[Back-end Utility Components]

#include <pantheios/util/time/currenttime.h>

List of all members.


Detailed Description

Structure for use with the pantheios_util_getCurrentTime() function.

Public Member Functions

 pan_beutil_time_t (size_t cap, pan_char_t *s, pan_char_t const *f=NULL)
 Initialises all structure members.

Public Attributes

size_t capacity
size_t len
pan_char_t * str
pan_char_t const * strftimeFmt

Constructor & Destructor Documentation

pan_beutil_time_t ( size_t  cap,
pan_char_t *  s,
pan_char_t const *  f = NULL 
) [inline]

Initialises all structure members.

Parameters:
cap The capacity of the buffer
s The pointer to the buffer
f The time string format


Member Data Documentation

size_t capacity

The capacity of the buffer in str.

size_t len

The length of the string written into str.

pan_char_t* str

The buffer into which the results are written. Its maximum length is capacity.

pan_char_t const* strftimeFmt

The time string format. Ignored on Windows, which uses the user/system locale time picture. May be NULL.


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

pantheios Library documentation © Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo