CSVIStream Class ReferenceIStream implementation for csv.
More...
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| virtual void | close () |
| Close stream. | |
| CSVIStream (const char *pFilename, std::list< mapping > &pMappings, bool pHasColNames, bool pIgnoreEmptyLines, const ConvSpec &pSpecs) | |
| Constructor used by CSVArchive. | |
| virtual void | destroy () |
| Destroy stream. | |
| const std::list< std::string > & | getColumns () |
| Return column names. | |
| virtual bool | getNext (Storeable *pObject) |
| Get next object from stream. | |
| virtual void | open (Storeable &pObject, const char *pRootTable=NULL) |
| Prepare stream by creating member tree from pObject. | |
| void | setFieldSeparator (char pSep) |
| Overrider field separator set from CSVArchive. | |
| virtual bool | updateVars () |
| Update binded vars without retrieving current object. | |
This stream does not support transactions, calling begin() or rollback() does nothing.
|
||||||||||||||||||||||||
|
Constructor used by CSVArchive.
|
|
|
Destroy stream. After call to this function stream is destroyed and cannot be opened any more. It usually means that connection to database that this stream represents is closed after this method was called Implements Stream. |
|
|
Return column names. List of column names contains strings without any conversion. |
|
||||||||||||
|
Prepare stream by creating member tree from pObject.
Reimplemented from Stream. |
|
|
Overrider field separator set from CSVArchive.
|
| Documentation |
|---|
| Quick start |
| Examples |
| Search |
| API Documentation |
|---|
| Class hierarchy |
| Member index |
| API Reference |
| Store filters |
| Store table macros |