GOTO 
index
mbox
Defined in header file:  mbox.hh

Description

mbox ...

Example

try {
	mbox m("inbox");
	for (mbox::iterator i = mbox.begin(); i != mbox.end(); ++i) {
		cout << "mail at position " << i.pos() << " has size " << strlen(*i) << endl;
	}
} catch( cosnt file_open& e ) {
	cerr << e.what() << endl
}
  

Public base classes

Constructors

Constructor Description
mbox(const std::string& fname) Constructor taking the file name of the mbox.

Members

Types Description
value_type The type of the objects stored in a mbox container.
reference Reference to an element.
const_reference Const reference to an element.
pointer Pointer to an element.
size_type An unsigned integral type.
difference_type An signed integral type.
iterator Iterator to iterate through the elements.
const_iterator Const iterator to iterate through the elements.
Methods
iterator  begin() Returns a const iterator pointing to the first element.
iterator  end() Returns a const iterator pointing to the end.
const_iterator  begin()   const Returns a const iterator pointing to the first element.
const_iterator  end()   const Returns a const iterator pointing to the end.
size_type  size()   const Returns the current size in bytes of the mbox.
bool  empty()   const Returns true if the mbox is empty.
index

Copyright © 2005-2006 Retrieval Solutions. All rights reserved.