Products Support Documentation Download
examples/hello_world_gen_api.h
/*
* Raima Database C++ Header File
* This file is autogenerated, please don't edit the file
*/
#if !defined(HELLO_WORLD_API_H)
#define HELLO_WORLD_API_H
/* RDM 14.1.1.3173 */
/*lint ++flb (treat this like a library header file - no warnings on unrefrenced symbols) */
#include "cpp-db.h"
#include "cpp-cursor.h"
#include "hello_world_structs.h"
namespace RDM_CPP {
namespace HELLO_WORLD {
class Cursor_INFO;
class Db_hello_world : public RDM_CPP::Db
{
public:
Db_hello_world Open (
const char *name,
);
#if !defined(RDM_NO_UNICODE)
Db_hello_world Open (
const wchar_t *name,
);
#endif
Db_hello_world (void) throw ();
Db_hello_world (
const Db& db
) throw ();
Db_hello_world (
const Db_hello_world&
) throw ();
Db_hello_world& operator = (
const Db&
); /*lint !e1511 (this operator intentionally hides Db::operator=(const RDM_CPP::Db &)) */
Db_hello_world& operator = (
const Db_hello_world&
) throw ();
~Db_hello_world (); /*lint !e1509 (the base class destructor is intentionally not virtual) */
Cursor_INFO Insert_INFO_Row (
const INFO& columnValues
) const;
Cursor_INFO Insert_INFO_Row (
) const;
Cursor_INFO Insert_INFO_Rows (
const INFO *columnValues,
uint32_t numRows,
size_t bytesIn,
RDM_CPP::Cursor& cursorStatus
) const;
Cursor_INFO Insert_INFO_Rows (
const INFO *columnValues,
uint32_t numRows,
RDM_CPP::Cursor& cursorStatus
) const;
Cursor_INFO Insert_INFO_Rows (
const INFO *columnValues,
uint32_t numRows
) const;
Cursor_INFO Insert_INFO_Rows (
const INFO *columnValues,
uint32_t numRows,
size_t bytesIn
) const;
Cursor_INFO Get_INFO_Rows (
) const;
private:
Db_hello_world* operator & (void); /*lint !e1511 (this operator intentionally hides Db::operator&(void)) */
Db_hello_world (
RDM_CPP::IDb *idb
); /*lint !e1704 (this constructor is intentionally private) */
static RDM_CPP::dbType Type (void);
};
class Cursor_INFO : public RDM_CPP::Cursor
{
public:
static RDM_TABLE_ID GetTableId (void);
Cursor_INFO (void) throw ();
Cursor_INFO (
const Cursor& cursor
);
Cursor_INFO (
const Cursor_INFO&
) throw ();
Cursor_INFO& operator = (
const Cursor& cursor
); /*lint !e1511 (this intentionally hides Cursor::operator=(const RDM_CPP::Cursor &)) */
Cursor_INFO& operator = (
const Cursor_INFO& cursor
) throw ();
/*lint -esym(534,RDM_CPP::Cursor_INFO::First,RDM_CPP::Cursor_INFO::Next,RDM_CPP::Cursor_INFO::Prev,RDM_CPP::Cursor_INFO::Last) (the return value of these functions does not need to be checked) */
const Cursor_INFO& MoveToFirst (void) const
{
return static_cast<const Cursor_INFO&>(this->_MoveToFirst ());
} /*lint !e1511 (this intentionally hides Cursor::First(void)) */ /*lint !e1774 (this will always be the right type so static_cast is sufficient) */
const Cursor_INFO& MoveToNext (void) const
{
return static_cast<const Cursor_INFO&>(this->_MoveToNext ());
} /*lint !e1511 (this intentionally hides Cursor::Next(void)) */ /*lint !e1774 (this will always be the right type so static_cast is sufficient) */
const Cursor_INFO& MoveToPrev (void) const
{
return static_cast<const Cursor_INFO&>(this->_MoveToPrev ());
} /*lint !e1511 (this intentionally hides Cursor::Prev(void)) */ /*lint !e1774 (this will always be the right tyme so static_cast is sufficient) */
const Cursor_INFO& MoveToLast (void) const
{
return static_cast<const Cursor_INFO&>(this->_MoveToLast ());
} /*lint !e1511 (this intentionally hides Cursor::Last(void)) */ /*lint !e1774 (this will always be the right type so static_cast is sufficient) */
Cursor_INFO GetSelf (void) const
{
return this->_GetSelf ();
} /*lint !e1511 (this intentionally hides Cursor::GetSelf(void)) */
Cursor_INFO GetClone (void) const
{
return this->_GetClone ();
} /*lint !e1511 (this intentionally hides Cursor::GetClone(void)) */
void UpdateRow (
const INFO &columnValues
) const; /*lint !e1511 (this intentionally hides Cursor::UpdateRow(const void *, size_t) */
void ReadRow (
INFO &columnValues
) const; /*lint !e1511 (this intentionally hides Cursor::ReadRow(void *, size_t, size_t *) */
void Update_MYCHAR (
const char columnValue[51]
) const;
void Read_MYCHAR (
char columnValue[51]
) const;
~Cursor_INFO (); /*lint !e1509 (the base class destructor is intentionally not virtual) */
private:
friend class Db_hello_world;
};
}
}
/*lint --flb (turn off library header file option) */
#endif /* HELLO_WORLD_API_H */