LdifReader Class Reference

#include <LdifReader.h>

List of all members.

Public Member Functions

 LdifReader (std::istream &input)
bool isEntryRecords () const
bool isChangeRecords () const
int getVersion () const
LDAPEntry getEntryRecord ()
int readNextRecord (bool first=false)

Private Member Functions

int getLdifLine (std::string &line)
void splitLine (const std::string &line, std::string &type, std::string &value) const
std::string readIncludeLine (const std::string &line) const

Private Attributes

std::istream & m_ldifstream
LdifRecord m_currentRecord
int m_version
int m_curRecType
int m_lineNumber
bool m_ldifTypeRequest
bool m_currentIsFirst


Constructor & Destructor Documentation

LdifReader::LdifReader ( std::istream &  input  ) 


Member Function Documentation

LDAPEntry LdifReader::getEntryRecord (  ) 

int LdifReader::getLdifLine ( std::string &  line  )  [private]

int LdifReader::getVersion (  )  const [inline]

References m_version.

bool LdifReader::isChangeRecords (  )  const [inline]

References m_ldifTypeRequest.

bool LdifReader::isEntryRecords (  )  const [inline]

References m_ldifTypeRequest.

std::string LdifReader::readIncludeLine ( const std::string &  line  )  const [private]

References DEBUG, and LDAP_DEBUG_TRACE.

int LdifReader::readNextRecord ( bool  first = false  ) 

void LdifReader::splitLine ( const std::string &  line,
std::string &  type,
std::string &  value 
) const [private]


Member Data Documentation

int LdifReader::m_curRecType [private]

Referenced by getEntryRecord(), and readNextRecord().

Referenced by LdifReader(), and readNextRecord().

Referenced by getEntryRecord(), and readNextRecord().

std::istream& LdifReader::m_ldifstream [private]

Referenced by getLdifLine().

int LdifReader::m_lineNumber [private]

int LdifReader::m_version [private]


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

doxygen