log4cplus  1.1.0
Classes | Functions | Variables
log4cplus::internal Namespace Reference

Classes

struct  gft_scratch_pad
struct  appender_sratch_pad
struct  per_thread_data
 Per thread data. More...

Functions

bool get_env_var (tstring &value, tstring const &name)
bool parse_bool (bool &val, tstring const &str)
DWORD get_process_id ()
per_thread_dataalloc_ptd ()
void set_ptd (per_thread_data *p)
per_thread_dataget_ptd (bool alloc=true)
tstringget_thread_name_str ()
tstringget_thread_name2_str ()
gft_scratch_padget_gft_scratch_pad ()
appender_sratch_padget_appender_sp ()

Variables

log4cplus::tstring const empty_str
 Canonical empty string.
log4cplus::thread::impl::tls_key_type tls_storage_key

Function Documentation

Referenced by get_ptd().

Definition at line 231 of file internal.h.

References log4cplus::internal::per_thread_data::appender_sp, and get_ptd().

bool log4cplus::internal::get_env_var ( tstring &  value,
tstring const &  name 
)

Definition at line 223 of file internal.h.

References get_ptd(), and log4cplus::internal::per_thread_data::gft_sp.

Definition at line 62 of file env.h.

per_thread_data* log4cplus::internal::get_ptd ( bool  alloc = true) [inline]

Definition at line 215 of file internal.h.

References get_ptd(), and log4cplus::internal::per_thread_data::thread_name2.

Definition at line 207 of file internal.h.

References get_ptd(), and log4cplus::internal::per_thread_data::thread_name.

bool log4cplus::internal::parse_bool ( bool &  val,
tstring const &  str 
)
void log4cplus::internal::set_ptd ( per_thread_data *  p) [inline]

Definition at line 181 of file internal.h.

References log4cplus::thread::impl::tls_set_value(), and tls_storage_key.


Variable Documentation

Canonical empty string.

It is used when the need to return empty string by reference arises.

log4cplus::thread::impl::tls_key_type log4cplus::internal::tls_storage_key

Referenced by get_ptd(), and set_ptd().