Index  Source Files  Annotated Class List  Alphabetical Class List  Class Hierarchy  Graphical Class Hierarchy 

FIX::StringField Class Reference

MSC doesn't support partial template specialization so we have this. More...

#include <Field.h>

Inheritance diagram for FIX::StringField:
Inheritance graph
[legend]
Collaboration diagram for FIX::StringField:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StringField (int field, const std::string &data)
 StringField (int field)
void setValue (const std::string &value)
const std::string & getValue () const
 Get the string representation of the Field (i.e.) 55=MSFT[SOH].
 operator const std::string & () const
bool operator< (const StringField &rhs) const
bool operator> (const StringField &rhs) const
bool operator== (const StringField &rhs) const
bool operator!= (const StringField &rhs) const
bool operator<= (const StringField &rhs) const
bool operator>= (const StringField &rhs) const

Friends

bool operator< (const StringField &, const char *)
bool operator< (const char *, const StringField &)
bool operator> (const StringField &, const char *)
bool operator> (const char *, const StringField &)
bool operator== (const StringField &, const char *)
bool operator== (const char *, const StringField &)
bool operator!= (const StringField &, const char *)
bool operator!= (const char *, const StringField &)
bool operator<= (const StringField &, const char *)
bool operator<= (const char *, const StringField &)
bool operator>= (const StringField &, const char *)
bool operator>= (const char *, const StringField &)
bool operator< (const StringField &, const std::string &)
bool operator< (const std::string &, const StringField &)
bool operator> (const StringField &, const std::string &)
bool operator> (const std::string &, const StringField &)
bool operator== (const StringField &, const std::string &)
bool operator== (const std::string &, const StringField &)
bool operator!= (const StringField &, const std::string &)
bool operator!= (const std::string &, const StringField &)
bool operator<= (const StringField &, const std::string &)
bool operator<= (const std::string &, const StringField &)
bool operator>= (const StringField &, const std::string &)
bool operator>= (const std::string &, const StringField &)

Detailed Description

MSC doesn't support partial template specialization so we have this.

this is here to provide equality checking against native char arrays.

Definition at line 149 of file Field.h.


Constructor & Destructor Documentation

FIX::StringField::StringField ( int  field,
const std::string &  data 
) [inline, explicit]

Definition at line 152 of file Field.h.

00153 : FieldBase( field, data ) {}

FIX::StringField::StringField ( int  field  )  [inline]

Definition at line 154 of file Field.h.

00155 : FieldBase( field, "" ) {}


Member Function Documentation

const std::string& FIX::StringField::getValue (  )  const [inline]

Get the string representation of the Field (i.e.) 55=MSFT[SOH].

Reimplemented from FIX::FieldBase.

Definition at line 159 of file Field.h.

References FIX::FieldBase::getString().

Referenced by FIX::operator!=(), FIX::operator<(), FIX::operator<=(), FIX::operator==(), FIX::operator>(), and FIX::operator>=().

00160     { return getString(); }

FIX::StringField::operator const std::string & (  )  const [inline]

Definition at line 161 of file Field.h.

References FIX::FieldBase::getString().

00162     { return getString(); }

bool FIX::StringField::operator!= ( const StringField rhs  )  const [inline]

Definition at line 170 of file Field.h.

References FIX::FieldBase::getString().

00171     { return getString() != rhs.getString(); }

bool FIX::StringField::operator< ( const StringField rhs  )  const [inline]

Definition at line 164 of file Field.h.

References FIX::FieldBase::getString().

00165     { return getString() < rhs.getString(); }

bool FIX::StringField::operator<= ( const StringField rhs  )  const [inline]

Definition at line 172 of file Field.h.

References FIX::FieldBase::getString().

00173     { return getString() <= rhs.getString(); }

bool FIX::StringField::operator== ( const StringField rhs  )  const [inline]

Definition at line 168 of file Field.h.

References FIX::FieldBase::getString().

00169     { return getString() == rhs.getString(); }

bool FIX::StringField::operator> ( const StringField rhs  )  const [inline]

Definition at line 166 of file Field.h.

References FIX::FieldBase::getString().

00167     { return getString() > rhs.getString(); }

bool FIX::StringField::operator>= ( const StringField rhs  )  const [inline]

Definition at line 174 of file Field.h.

References FIX::FieldBase::getString().

00175     { return getString() >= rhs.getString(); }

void FIX::StringField::setValue ( const std::string &  value  )  [inline]

Definition at line 157 of file Field.h.

References FIX::FieldBase::setString().

00158     { setString( value ); }


Friends And Related Function Documentation

bool operator!= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 242 of file Field.h.

00243   { return lhs != rhs.getValue(); }

bool operator!= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 240 of file Field.h.

00241   { return lhs.getValue() != rhs; }

bool operator!= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 217 of file Field.h.

00218   { return lhs != rhs.getValue(); }

bool operator!= ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 215 of file Field.h.

00216   { return lhs.getValue() != rhs; }

bool operator< ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 230 of file Field.h.

00231   { return lhs < rhs.getValue(); }

bool operator< ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 228 of file Field.h.

00229   { return lhs.getValue() < rhs; }

bool operator< ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 205 of file Field.h.

00206   { return lhs < rhs.getValue(); }

bool operator< ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 203 of file Field.h.

00204   { return lhs.getValue() < rhs; }

bool operator<= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 246 of file Field.h.

00247   { return lhs <= rhs.getValue(); }

bool operator<= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 244 of file Field.h.

00245   { return lhs.getValue() <= rhs; }

bool operator<= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 221 of file Field.h.

00222   { return lhs <= rhs.getValue(); }

bool operator<= ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 219 of file Field.h.

00220   { return lhs.getValue() <= rhs; }

bool operator== ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 238 of file Field.h.

00239   { return lhs == rhs.getValue(); }

bool operator== ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 236 of file Field.h.

00237   { return lhs.getValue() == rhs; }

bool operator== ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 213 of file Field.h.

00214   { return lhs == rhs.getValue(); }

bool operator== ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 211 of file Field.h.

00212   { return lhs.getValue() == rhs; }

bool operator> ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 234 of file Field.h.

00235   { return lhs > rhs.getValue(); }

bool operator> ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 232 of file Field.h.

00233   { return lhs.getValue() > rhs; }

bool operator> ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 209 of file Field.h.

00210   { return lhs > rhs.getValue(); }

bool operator> ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 207 of file Field.h.

00208   { return lhs.getValue() > rhs; }

bool operator>= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 250 of file Field.h.

00251   { return lhs >= rhs.getValue(); }

bool operator>= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 248 of file Field.h.

00249   { return lhs.getValue() >= rhs; }

bool operator>= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 225 of file Field.h.

00226   { return lhs >= rhs.getValue(); }

bool operator>= ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 223 of file Field.h.

00224   { return lhs.getValue() >= rhs; }


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

Generated on Tue Apr 6 08:11:16 2010 for QuickFIX by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2001