Group.cpp
Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Copyright (c) 2001-2014
00003 **
00004 ** This file is part of the QuickFIX FIX Engine
00005 **
00006 ** This file may be distributed under the terms of the quickfixengine.org
00007 ** license as defined by quickfixengine.org and appearing in the file
00008 ** LICENSE included in the packaging of this file.
00009 **
00010 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00011 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00012 **
00013 ** See http://www.quickfixengine.org/LICENSE for licensing information.
00014 **
00015 ** Contact ask@quickfixengine.org if any conditions of this licensing are
00016 ** not clear to you.
00017 **
00018 ****************************************************************************/
00019 
00020 #ifdef _MSC_VER
00021 #include "stdafx.h"
00022 #else
00023 #include "config.h"
00024 #endif
00025 
00026 #include "Group.h"
00027 
00028 namespace FIX
00029 {
00030 void Group::addGroup( const Group& group )
00031 {
00032   FieldMap::addGroup( group.field(), group );
00033 }
00034 
00035 void Group::replaceGroup( unsigned num, const FIX::Group& group )
00036 {
00037   FieldMap::replaceGroup( num, group.field(), group ); 
00038 }
00039 
00040 Group& Group::getGroup( unsigned num, Group& group ) const throw( FieldNotFound )
00041 {
00042   return static_cast < Group& > ( FieldMap::getGroup( num, group.field(), group ) );
00043 }
00044 
00045 void Group::removeGroup( unsigned num, const Group& group )
00046 {
00047   FieldMap::removeGroup( num, group.field() );
00048 }
00049 
00050 void Group::removeGroup( const Group& group )
00051 {
00052   FieldMap::removeGroup( group.field() );
00053 }
00054 
00055 bool Group::hasGroup( unsigned num, const Group& group )
00056 {
00057   return FieldMap::hasGroup( num, group.field() );
00058 }
00059 
00060 bool Group::hasGroup( const Group& group )
00061 {
00062   return FieldMap::hasGroup( group.field() );
00063 }
00064 }

Generated on Mon Sep 15 2014 01:23:54 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001