SQL Relay C++ API
Public Member Functions | List of all members
sqlrlistnode Class Reference

#include <sqlrcollections.h>

Inherits listnode< const char * >.

Public Member Functions

const char * getValue ()
 
const char *& getReference ()
 
listnode< const char * > * getPrevious ()
 
listnode< const char * > * getNext ()
 

Detailed Description

The sqlrlistnode class is a read-only implementation of the rudiments listnode<const char *> class.

Used with sqlrrowlist or sqlrresultsetlist, it provides read-only access to the value of a single field in the result set.

The instance can be passed into any method that operates on a read-only rudiments listnode<const char *>, or otherwise used in the same manner that a read-only rudiments listnode<const char *> would be.

Member Function Documentation

◆ getNext()

listnode< const char * > * sqlrlistnode::getNext ( )

Returns the next node in the sqlrlist or NULL if this node is the last node in the list.

◆ getPrevious()

listnode< const char * > * sqlrlistnode::getPrevious ( )

Returns the previous node in the sqlrlist or NULL if this node is the first node in the list.

◆ getReference()

const char *& sqlrlistnode::getReference ( )

Returns a reference to the value (field) stored in the node.

◆ getValue()

const char * sqlrlistnode::getValue ( )

Returns the value (field) stored in the node.