ARB
Public Member Functions | List of all members
SizedCstr Class Reference

#include <sized_cstr.h>

Public Member Functions

 SizedCstr ()
 
 SizedCstr (const char *str)
 
 SizedCstr (const char *str, size_t length)
 
bool isNull () const
 
bool isSet () const
 
 operator const char * () const
 
size_t get_length () const
 

Detailed Description

Definition at line 26 of file sized_cstr.h.

Constructor & Destructor Documentation

SizedCstr::SizedCstr ( )
inline

Definition at line 31 of file sized_cstr.h.

SizedCstr::SizedCstr ( const char str)
inlineexplicit

Definition at line 32 of file sized_cstr.h.

SizedCstr::SizedCstr ( const char str,
size_t  length 
)
inline

Definition at line 33 of file sized_cstr.h.

References arb_assert.

Member Function Documentation

bool SizedCstr::isNull ( ) const
inline

Definition at line 37 of file sized_cstr.h.

References NULp.

Referenced by isSet().

bool SizedCstr::isSet ( ) const
inline

Definition at line 38 of file sized_cstr.h.

References isNull().

Referenced by get_length(), and operator const char *().

SizedCstr::operator const char * ( ) const
inline

Definition at line 40 of file sized_cstr.h.

References arb_assert, and isSet().

size_t SizedCstr::get_length ( ) const
inline

Definition at line 42 of file sized_cstr.h.

References arb_assert, isSet(), and UNKNOWN_LENGTH.

Referenced by AW_GC::get_string_size(), and AW_device::text_overlay().


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