Public Member Functions | Friends
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
 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 207 of file Field.h.


Constructor & Destructor Documentation

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

Definition at line 210 of file Field.h.

: FieldBase( field, data ) {}
FIX::StringField::StringField ( int  field) [inline]

Definition at line 212 of file Field.h.

: FieldBase( field, "" ) {}

Member Function Documentation

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

Definition at line 219 of file Field.h.

References FIX::FieldBase::getString().

    { return getString(); }
bool FIX::StringField::operator!= ( const StringField rhs) const [inline]

Definition at line 228 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() != rhs.getString(); }
bool FIX::StringField::operator< ( const StringField rhs) const [inline]

Definition at line 222 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() < rhs.getString(); }
bool FIX::StringField::operator<= ( const StringField rhs) const [inline]

Definition at line 230 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() <= rhs.getString(); }
bool FIX::StringField::operator== ( const StringField rhs) const [inline]

Definition at line 226 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() == rhs.getString(); }
bool FIX::StringField::operator> ( const StringField rhs) const [inline]

Definition at line 224 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() > rhs.getString(); }
bool FIX::StringField::operator>= ( const StringField rhs) const [inline]

Definition at line 232 of file Field.h.

References FIX::FieldBase::getString().

    { return getString() >= rhs.getString(); }
void FIX::StringField::setValue ( const std::string &  value) [inline]

Definition at line 215 of file Field.h.

References FIX::FieldBase::setString().

    { setString( value ); }

Friends And Related Function Documentation

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

Definition at line 273 of file Field.h.

  { return lhs.getValue() != rhs; }
bool operator!= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 275 of file Field.h.

  { return lhs != rhs.getValue(); }
bool operator!= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 298 of file Field.h.

  { return lhs.getValue() != rhs; }
bool operator!= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 300 of file Field.h.

  { return lhs != rhs.getValue(); }
bool operator< ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 261 of file Field.h.

  { return lhs.getValue() < rhs; }
bool operator< ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 263 of file Field.h.

  { return lhs < rhs.getValue(); }
bool operator< ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 286 of file Field.h.

  { return lhs.getValue() < rhs; }
bool operator< ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 288 of file Field.h.

  { return lhs < rhs.getValue(); }
bool operator<= ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 277 of file Field.h.

  { return lhs.getValue() <= rhs; }
bool operator<= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 279 of file Field.h.

  { return lhs <= rhs.getValue(); }
bool operator<= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 302 of file Field.h.

  { return lhs.getValue() <= rhs; }
bool operator<= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 304 of file Field.h.

  { return lhs <= rhs.getValue(); }
bool operator== ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 269 of file Field.h.

  { return lhs.getValue() == rhs; }
bool operator== ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 271 of file Field.h.

  { return lhs == rhs.getValue(); }
bool operator== ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 294 of file Field.h.

  { return lhs.getValue() == rhs; }
bool operator== ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 296 of file Field.h.

  { return lhs == rhs.getValue(); }
bool operator> ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 265 of file Field.h.

  { return lhs.getValue() > rhs; }
bool operator> ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 267 of file Field.h.

  { return lhs > rhs.getValue(); }
bool operator> ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 290 of file Field.h.

  { return lhs.getValue() > rhs; }
bool operator> ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 292 of file Field.h.

  { return lhs > rhs.getValue(); }
bool operator>= ( const StringField lhs,
const char *  rhs 
) [friend]

Definition at line 281 of file Field.h.

  { return lhs.getValue() >= rhs; }
bool operator>= ( const char *  lhs,
const StringField rhs 
) [friend]

Definition at line 283 of file Field.h.

  { return lhs >= rhs.getValue(); }
bool operator>= ( const StringField lhs,
const std::string &  rhs 
) [friend]

Definition at line 306 of file Field.h.

  { return lhs.getValue() >= rhs; }
bool operator>= ( const std::string &  lhs,
const StringField rhs 
) [friend]

Definition at line 308 of file Field.h.

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

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

Generated on Mon Jun 23 2014 23:49:39 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001