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

openrj/cpp/functions.hpp File Reference


Detailed Description

[C++ only] Helper functions for the Open-RJ C++ mapping

#include <openrj/cpp/openrj.hpp>
#include <openrj/cpp/field.hpp>
#include <openrj/cpp/record.hpp>
#include <openrj/cpp/databasebase.hpp>
#include <stlsoft/memory/auto_buffer.hpp>
#include <stlsoft/shims/access/string.hpp>
#include <stdio.h>

Go to the source code of this file.

Namespaces

namespace  openrj
namespace  openrj::cpp

Functions

String openrj::cpp::Lookup (char const *fieldName, Record const &r0, char const *defaultValue)
 Looks up the named field in a record, or returns a default value if not found.
String openrj::cpp::Lookup (char 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 openrj::cpp::Lookup (char const *fieldName, Record const &r0, Record const &r1, char 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