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

openrj/stl/utility.hpp File Reference


Detailed Description

[C++ only] Helper functions for use with the Open-RJ/STL mapping.

#include <openrj/stl/openrj.hpp>
#include <openrj/stl/field.hpp>
#include <openrj/stl/record.hpp>

Go to the source code of this file.

Namespaces

namespace  openrj
namespace  openrj::stl

Functions

string_t openrj::stl::lookup (string_t const &fieldName, record const &r0, record const &r1)
 Looks up the named field in one of two records, or throws exception if not found in either.
string_t openrj::stl::lookup (string_t const &fieldName, record const &r0, record const &r1, string_t const &defaultValue)
 Looks up the named field in one of two records, or returns a default value if not found in either.

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