Open-RJ C/C++ User's Journal Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

String access shims


String access shims

These functions are string access shims for injection into the stlsoft namespace, in order to facilitate generalised manipulation of the ORJStringA, ORJRC and ORJ_PARSE_ERROR types.

char const * openrj::c_str_ptr_null_a (ORJStringA const &s)
 Nul-terminated, possibly NULL, C-string representation of the given ORJStringA instance.
char const * openrj::c_str_ptr_null (ORJStringA const &s)
 Nul-terminated, possibly NULL, C-string representation of the given ORJStringA instance.
char const * openrj::c_str_ptr_a (ORJStringA const &s)
 Nul-terminated C-string representation of the given ORJStringA instance.
char const * openrj::c_str_ptr (ORJStringA const &s)
 Nul-terminated C-string representation of the given ORJStringA instance.
char const * openrj::c_str_data_a (ORJStringA const &s)
 Nul-terminated C-string representation of the given ORJStringA instance.
char const * openrj::c_str_data (ORJStringA const &s)
 Nul-terminated C-string representation of the given ORJStringA instance.
size_t openrj::c_str_len_a (ORJStringA const &s)
 Length of the C-string representation of the given ORJStringA instance.
size_t openrj::c_str_len (ORJStringA const &s)
 Length of the C-string representation of the given ORJStringA instance.
char const * openrj::c_str_ptr_null_a (ORJRC rc)
 Nul-terminated, possibly NULL, C-string representation of the given ORJRC instance.
char const * openrj::c_str_ptr_null (ORJRC rc)
 Nul-terminated, possibly NULL, C-string representation of the given ORJRC instance.
char const * openrj::c_str_ptr_a (ORJRC rc)
 Nul-terminated C-string representation of the given ORJRC instance.
char const * openrj::c_str_ptr (ORJRC rc)
 Nul-terminated C-string representation of the given ORJRC instance.
char const * openrj::c_str_data_a (ORJRC rc)
 Not necessarily nul-terminated C-string representation of the given ORJRC instance.
char const * openrj::c_str_data (ORJRC rc)
 Not necessarily nul-terminated C-string representation of the given ORJRC instance.
size_t openrj::c_str_len_a (ORJRC rc)
 Length of the C-string representation of the given ORJRC instance.
size_t openrj::c_str_len (ORJRC rc)
 Length of the C-string representation of the given ORJRC instance.
char const * openrj::c_str_ptr_null_a (ORJ_PARSE_ERROR pe)
 Nul-terminated, possibly NULL, C-string representation of the given ORJ_PARSE_ERROR instance.
char const * openrj::c_str_ptr_null (ORJ_PARSE_ERROR pe)
 Nul-terminated, possibly NULL, C-string representation of the given ORJ_PARSE_ERROR instance.
char const * openrj::c_str_ptr_a (ORJ_PARSE_ERROR pe)
 Nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.
char const * openrj::c_str_ptr (ORJ_PARSE_ERROR pe)
 Nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.
char const * openrj::c_str_data_a (ORJ_PARSE_ERROR pe)
 Not necessarily nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.
char const * openrj::c_str_data (ORJ_PARSE_ERROR pe)
 Not necessarily nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.
size_t openrj::c_str_len (ORJ_PARSE_ERROR pe)
 Length of the C-string representation of the given ORJ_PARSE_ERROR instance.
size_t openrj::c_str_len_a (ORJ_PARSE_ERROR pe)
 Length of the C-string representation of the given ORJ_PARSE_ERROR instance.

Functions

inline::stlsoft::basic_shim_string<
char, true > 
openrj::cpp::c_str_ptr_null (Field const &f)
 String access shim providing, possibly NULL, C-string access to the contents of a Field instance.
inline::stlsoft::basic_shim_string<
char > 
openrj::cpp::c_str_ptr (Field const &f)
 String access shim providing C-string access to the contents of a Field instance.
inline::stlsoft::basic_shim_string<
char > 
openrj::cpp::c_str_data (Field const &f)
 String access shim providing (potentially non-nul-terminated) C-string access to the contents of a Field instance.
size_t openrj::cpp::c_str_len (Field const &f)
 String attribute shim providing the length of the C-string form of a Field instance.
stlsoft::basic_shim_string<
char, true > 
openrj::stl::c_str_ptr_null (field const &f)
 String access shim providing, possibly NULL, C-string access to the contents of a Field instance.
stlsoft::basic_shim_string<
char > 
openrj::stl::c_str_ptr (field const &f)
 String access shim providing C-string access to the contents of a Field instance.
size_t openrj::stl::c_str_len (field const &f)
 String access shim length of C-string form of a Field instance.
inline::stlsoft::basic_shim_string<
char > 
openrj::stl::c_str_data (field const &f)
 String access shim providing (potentially non-nul-terminated) C-string access to the contents of a Field instance.


Function Documentation

inline ::stlsoft::basic_shim_string<char> openrj::stl::c_str_data ( field const &  f  ) 

String access shim providing (potentially non-nul-terminated) C-string access to the contents of a Field instance.

inline ::stlsoft::basic_shim_string<char> openrj::cpp::c_str_data ( Field const &  f  ) 

String access shim providing (potentially non-nul-terminated) C-string access to the contents of a Field instance.

char const* openrj::c_str_data ( ORJ_PARSE_ERROR  pe  )  [inline]

Not necessarily nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_data ( ORJRC  rc  )  [inline]

Not necessarily nul-terminated C-string representation of the given ORJRC instance.

char const* openrj::c_str_data ( ORJStringA const &  s  )  [inline]

Nul-terminated C-string representation of the given ORJStringA instance.

char const* openrj::c_str_data_a ( ORJ_PARSE_ERROR  pe  )  [inline]

Not necessarily nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_data_a ( ORJRC  rc  )  [inline]

Not necessarily nul-terminated C-string representation of the given ORJRC instance.

char const* openrj::c_str_data_a ( ORJStringA const &  s  )  [inline]

Nul-terminated C-string representation of the given ORJStringA instance.

size_t openrj::stl::c_str_len ( field const &  f  )  [inline]

String access shim length of C-string form of a Field instance.

size_t openrj::cpp::c_str_len ( Field const &  f  )  [inline]

String attribute shim providing the length of the C-string form of a Field instance.

size_t openrj::c_str_len ( ORJ_PARSE_ERROR  pe  )  [inline]

Length of the C-string representation of the given ORJ_PARSE_ERROR instance.

size_t openrj::c_str_len ( ORJRC  rc  )  [inline]

Length of the C-string representation of the given ORJRC instance.

size_t openrj::c_str_len ( ORJStringA const &  s  )  [inline]

Length of the C-string representation of the given ORJStringA instance.

size_t openrj::c_str_len_a ( ORJ_PARSE_ERROR  pe  )  [inline]

Length of the C-string representation of the given ORJ_PARSE_ERROR instance.

size_t openrj::c_str_len_a ( ORJRC  rc  )  [inline]

Length of the C-string representation of the given ORJRC instance.

size_t openrj::c_str_len_a ( ORJStringA const &  s  )  [inline]

Length of the C-string representation of the given ORJStringA instance.

stlsoft::basic_shim_string<char> openrj::stl::c_str_ptr ( field const &  f  )  [inline]

String access shim providing C-string access to the contents of a Field instance.

inline ::stlsoft::basic_shim_string<char> openrj::cpp::c_str_ptr ( Field const &  f  ) 

String access shim providing C-string access to the contents of a Field instance.

char const* openrj::c_str_ptr ( ORJ_PARSE_ERROR  pe  )  [inline]

Nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_ptr ( ORJRC  rc  )  [inline]

Nul-terminated C-string representation of the given ORJRC instance.

char const* openrj::c_str_ptr ( ORJStringA const &  s  )  [inline]

Nul-terminated C-string representation of the given ORJStringA instance.

char const* openrj::c_str_ptr_a ( ORJ_PARSE_ERROR  pe  )  [inline]

Nul-terminated C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_ptr_a ( ORJRC  rc  )  [inline]

Nul-terminated C-string representation of the given ORJRC instance.

char const* openrj::c_str_ptr_a ( ORJStringA const &  s  )  [inline]

Nul-terminated C-string representation of the given ORJStringA instance.

stlsoft::basic_shim_string<char, true> openrj::stl::c_str_ptr_null ( field const &  f  )  [inline]

String access shim providing, possibly NULL, C-string access to the contents of a Field instance.

inline ::stlsoft::basic_shim_string<char, true> openrj::cpp::c_str_ptr_null ( Field const &  f  ) 

String access shim providing, possibly NULL, C-string access to the contents of a Field instance.

char const* openrj::c_str_ptr_null ( ORJ_PARSE_ERROR  pe  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_ptr_null ( ORJRC  rc  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJRC instance.

char const* openrj::c_str_ptr_null ( ORJStringA const &  s  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJStringA instance.

char const* openrj::c_str_ptr_null_a ( ORJ_PARSE_ERROR  pe  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJ_PARSE_ERROR instance.

char const* openrj::c_str_ptr_null_a ( ORJRC  rc  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJRC instance.

char const* openrj::c_str_ptr_null_a ( ORJStringA const &  s  )  [inline]

Nul-terminated, possibly NULL, C-string representation of the given ORJStringA instance.


Open-RJ Library documentation © Synesis Software Pty Ltd, 2004-2005