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

openrj/cpp/field.hpp File Reference


Detailed Description

[C++ only] Definition of the openrj::cpp::Field class.

#include <openrj/cpp/openrj.hpp>
#include <stlsoft/string/shim_string.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <string.h>

Go to the source code of this file.

Namespaces

namespace  openrj
namespace  openrj::cpp
namespace  stlsoft

Classes

class  Field
 This class represents a field in a record in the database. More...

Functions

bool openrj::cpp::operator== (Field const &lhs, Field const &rhs)
 Evaluates to true if the two instances have identical names and values.
bool openrj::cpp::operator!= (Field const &lhs, Field const &rhs)
 Evaluates to true if the two instances have different names and/or values.
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.
template<class S>
S & openrj::cpp::operator<< (S &s, Field const &field)
 Stream insertion shim for a Field instance.

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