MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleProperties::Reader Class Reference

#include <SimpleProperties.hpp>

Inheritance diagram for SimpleProperties::Reader:

Public Member Functions

bool first ()
bool next ()
bool valid () const
Uint16 getKey () const
Uint16 getValueLen () const
ValueType getValueType () const
Uint32 getUint32 () const
char * getString (char *dst) const
void printAll (NdbOut &ndbout)

Protected Member Functions

virtual void reset ()=0
virtual bool step (Uint32 len)=0
virtual bool getWord (Uint32 *dst)=0
virtual bool peekWord (Uint32 *dst) const =0
virtual bool peekWords (Uint32 *dst, Uint32 len) const =0

Detailed Description

Reader class

Definition at line 95 of file SimpleProperties.hpp.

Member Function Documentation

bool SimpleProperties::Reader::first ( )

Move to first element Return true if element exist

Definition at line 97 of file SimpleProperties.cpp.

Here is the caller graph for this function:

Uint16 SimpleProperties::Reader::getKey ( ) const

Get key Note only valid is valid() == true

Definition at line 114 of file SimpleProperties.cpp.

Uint32 SimpleProperties::Reader::getUint32 ( ) const

Get value Note only valid is valid() == true

Definition at line 138 of file SimpleProperties.cpp.

Uint16 SimpleProperties::Reader::getValueLen ( ) const

Get value length in bytes - (including terminating 0 for strings) Note only valid is valid() == true

Definition at line 119 of file SimpleProperties.cpp.

SimpleProperties::ValueType SimpleProperties::Reader::getValueType ( ) const

Get value type Note only valid is valid() == true

Definition at line 133 of file SimpleProperties.cpp.

bool SimpleProperties::Reader::next ( void  )

Move to next element Return true if element exist

Definition at line 104 of file SimpleProperties.cpp.

Here is the caller graph for this function:

void SimpleProperties::Reader::printAll ( NdbOut &  ndbout)

Print the complete simple properties (for debugging)

Definition at line 295 of file SimpleProperties.cpp.

Here is the caller graph for this function:

bool SimpleProperties::Reader::valid ( ) const

Is this valid

Definition at line 109 of file SimpleProperties.cpp.


The documentation for this class was generated from the following files: