Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

CSVParser Class Reference

#include <csvparser.h>

List of all members.

Public Member Functions

 CSVParser ()
const CSVParseroperator<< (const string &sIn)
const CSVParseroperator<< (const char *sIn)
CSVParseroperator>> (int &nOut)
CSVParseroperator>> (Natural &nOut)
CSVParseroperator>> (double &nOut)
CSVParseroperator>> (string &sOut)
CSVParseroperator>> (TypeOfRate &tOut)
 used to parse yield curve points - type of rate can be cash or swap

CSVParseroperator>> (CreditSpreadType &tOut)
 used to parse credit curve spreads - type of rate can be absolute or relative

CSVParseroperator>> (Date &dOut)

Private Member Functions

void SkipSpaces (void)

Private Attributes

string m_sData
string::size_type m_nPos


Constructor & Destructor Documentation

CSVParser::CSVParser  ) 
 

Definition at line 41 of file csvparser.cpp.

References m_nPos, and m_sData.


Member Function Documentation

const CSVParser & CSVParser::operator<< const char *  sIn  ) 
 

Definition at line 60 of file csvparser.cpp.

References m_nPos, and m_sData.

const CSVParser & CSVParser::operator<< const string &  sIn  ) 
 

Definition at line 53 of file csvparser.cpp.

References m_nPos, and m_sData.

CSVParser & CSVParser::operator>> Date dOut  ) 
 

Definition at line 162 of file csvparser.cpp.

References Day, m, m_nPos, m_sData, Month, StringTokenizer::nextIntToken(), SkipSpaces(), and Year.

CSVParser & CSVParser::operator>> CreditSpreadType tOut  ) 
 

used to parse credit curve spreads - type of rate can be absolute or relative

Definition at line 111 of file csvparser.cpp.

References Absolute, m_nPos, m_sData, Relative, SkipSpaces(), and CreditSpreadPoint::TypeAsString().

CSVParser & CSVParser::operator>> TypeOfRate tOut  ) 
 

used to parse yield curve points - type of rate can be cash or swap

Definition at line 97 of file csvparser.cpp.

References Cash, m_nPos, m_sData, SkipSpaces(), Swap, and yieldPoint::TypeAsString().

CSVParser & CSVParser::operator>> string &  sOut  ) 
 

Definition at line 127 of file csvparser.cpp.

References m_nPos, m_sData, and SkipSpaces().

CSVParser & CSVParser::operator>> double &  nOut  ) 
 

Definition at line 84 of file csvparser.cpp.

References m_nPos, m_sData, and SkipSpaces().

CSVParser & CSVParser::operator>> Natural nOut  ) 
 

Definition at line 79 of file csvparser.cpp.

References Natural, and operator>>().

CSVParser & CSVParser::operator>> int &  nOut  ) 
 

Definition at line 67 of file csvparser.cpp.

References m_nPos, m_sData, and SkipSpaces().

Referenced by operator>>().

void CSVParser::SkipSpaces void   )  [private]
 

Definition at line 47 of file csvparser.cpp.

References m_nPos, and m_sData.

Referenced by operator>>().


Member Data Documentation

string::size_type CSVParser::m_nPos [private]
 

Definition at line 46 of file csvparser.h.

Referenced by CSVParser(), operator<<(), operator>>(), and SkipSpaces().

string CSVParser::m_sData [private]
 

Definition at line 45 of file csvparser.h.

Referenced by CSVParser(), operator<<(), operator>>(), and SkipSpaces().


The documentation for this class was generated from the following files:
Note: Generated nightly - reload for latest version
Generated on Thu Dec 22 23:12:39 2005 for terreneuve by doxygen 1.3.6