#include <SimpleProperties.hpp>
Inheritance diagram for LinearWriter:


Public Member Functions | |
| LinearWriter (Uint32 *src, Uint32 len) | |
| virtual | ~LinearWriter () |
| virtual bool | reset () |
| virtual bool | putWord (Uint32 val) |
| virtual bool | putWords (const Uint32 *src, Uint32 len) |
| Uint32 | getWordsUsed () const |
Private Attributes | |
| Uint32 | m_len |
| Uint32 | m_pos |
| Uint32 * | m_src |
Definition at line 207 of file SimpleProperties.hpp.
| virtual LinearWriter::~LinearWriter | ( | ) | [inline, virtual] |
| Uint32 LinearWriter::getWordsUsed | ( | ) | const |
Definition at line 397 of file SimpleProperties.cpp.
References m_pos.
Referenced by Dbdict::alterIndex_toCreateTrigger(), Dbdict::buildIndex_toCreateConstr(), Ndbcntr::createSystableLab(), Dbdict::packTableIntoPages(), Trix::prepareInsertTransactions(), Dbdict::prepareUtilTransaction(), and writer().
00397 { return m_pos;}
Here is the caller graph for this function:

Implements SimpleProperties::Writer.
Definition at line 378 of file SimpleProperties.cpp.
References m_len, m_pos, and m_src.
00378 { 00379 if(m_pos < m_len){ 00380 m_src[m_pos++] = val; 00381 return true; 00382 } 00383 return false; 00384 }
| bool LinearWriter::reset | ( | ) | [virtual] |
Implements SimpleProperties::Writer.
Definition at line 375 of file SimpleProperties.cpp.
Referenced by Dbdict::alterIndex_toCreateTrigger(), Dbdict::buildIndex_toCreateConstr(), and LinearWriter().
Here is the caller graph for this function:

Uint32 LinearWriter::m_len [private] |
Definition at line 217 of file SimpleProperties.hpp.
Referenced by LinearWriter(), putWord(), putWords(), and reset().
Uint32 LinearWriter::m_pos [private] |
Definition at line 218 of file SimpleProperties.hpp.
Referenced by getWordsUsed(), putWord(), putWords(), and reset().
Uint32* LinearWriter::m_src [private] |
Definition at line 219 of file SimpleProperties.hpp.
Referenced by LinearWriter(), putWord(), and putWords().
1.4.7

