QuickFIX: /home/omiller/Development/autobuild/quickfix/src/C++/Group.cpp Source File

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

# Group.cpp

Go to the documentation of this file.

    00001 /****************************************************************************
    00002 ** Copyright (c) quickfixengine.org  All rights reserved.
    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 #include "CallStack.h"
    00026
    00027 #include "Group.h"
    00028
    00029 namespace FIX
    00030 {
    00031 void Group::addGroup( Group& group )
    00032 { QF_STACK_PUSH(Group::addGroup)
    00033   FieldMap::addGroup( group.field(), group );
    00034   QF_STACK_POP
    00035 }
    00036
    00037 void Group::replaceGroup( unsigned num, FIX::Group& group )
    00038 { QF_STACK_PUSH(Group::replaceGroup)
    00039   FieldMap::replaceGroup( num, group.field(), group );
    00040   QF_STACK_POP
    00041 }
    00042
    00043 Group& Group::getGroup( unsigned num, Group& group ) const throw( FieldNotFound )
    00044 { QF_STACK_PUSH(Group::getGroup)
    00045   return static_cast < Group& > ( FieldMap::getGroup( num, group.field(), group ) );
    00046   QF_STACK_POP
    00047 }
    00048
    00049 void Group::removeGroup( unsigned num, Group& group )
    00050 { QF_STACK_PUSH(Group::removeGroup)
    00051   FieldMap::removeGroup( num, group.field() );
    00052   QF_STACK_POP
    00053 }
    00054
    00055 void Group::removeGroup( Group& group )
    00056 { QF_STACK_PUSH(Group::removeGroup)
    00057   FieldMap::removeGroup( group.field() );
    00058   QF_STACK_POP
    00059 }
    00060
    00061 bool Group::hasGroup( unsigned num, Group& group )
    00062 { QF_STACK_PUSH(Group::hasGroup)
    00063   return FieldMap::hasGroup( num, group.field() );
    00064   QF_STACK_POP
    00065 }
    00066
    00067 bool Group::hasGroup( const Group& group )
    00068 { QF_STACK_PUSH(Group::hasGroup)
    00069   return FieldMap::hasGroup( group.field() );
    00070   QF_STACK_POP
    00071 }
    00072 }