Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PredicateWithVector.cc

Go to the documentation of this file.
00001 /* -*- Mode: C++ -*-
00002  * $Id: PredicateWithVector.cc,v 1.1 2000/09/13 03:12:55 frehe Exp $
00003  *
00004  *
00005  * COPYRIGHT INFORMATION
00006  *
00007  * This file is part of RoboSoc created by Fredrik Heintz <frehe@ida.liu.se>
00008  * Copyright (C) 1999, 2000 Fredrik Heintz, Linköping University, Sweden
00009  *
00010  * You are allowed to modify and use this code as long as you retain this
00011  * notice. If you make any changes or have any comments I would appreciate
00012  * it if you send me a message. For more information, please see
00013  * http://www.ida.liu.se/~frehe/RoboCup/RoboSoc/
00014  *
00015  *
00016  * IDENTIFICATION
00017  *
00018  * Filename: PredicateWithVector.cc
00019  * Unitname: Framework
00020  * $Revision: 1.1 $
00021  * Created by: Fredrik Heintz 2000-09-13
00022  * Last modified by $Author: frehe $ $Date: 2000/09/13 03:12:55 $
00023  *
00024  *
00025  * HISTORY
00026  *
00027  * $Log: PredicateWithVector.cc,v $
00028  * Revision 1.1  2000/09/13 03:12:55  frehe
00029  * Added predicate class with arguments.
00030  *
00031  */
00032 
00045 #include "PredicateWithVector.h"
00046 
00047 
00048 RS_BEGIN_NAMESPACE
00049 
00050 
00051 PredicateWithVector::PredicateWithVector(const Vector& vec)
00052   : PredicateWithArguments(),
00053     vector(vec)
00054 {
00055 }
00056 
00057 
00058 PredicateWithVector::PredicateWithVector(const PredicateWithVector& obj)
00059   : PredicateWithArguments(obj),
00060     vector(obj.vector)
00061 {
00062 }
00063 
00064 
00065 PredicateWithVector::~PredicateWithVector()
00066 {
00067 }
00068 
00069 
00070 PredicateWithVector& PredicateWithVector::operator= (const PredicateWithVector& obj)
00071 {
00072   if ( this != &obj ) {
00073     PredicateWithArguments::operator=(obj);
00074     vector = obj.vector;
00075   }
00076   return *this;
00077 }
00078 
00079 
00080 RS_END_NAMESPACE
00081 
00082 
00083 /* CONDITIONAL INCLUSION OF INLINE DEFINITIONS
00084  *
00085  * If the compiler or debugger does not understand the keyword inline then
00086  * include the inline definitions here, otherwise include them in the
00087  * declaration file.
00088  *
00089  * This is controlled by a flag called RS_USE_INLINE, which is usually
00090  * defined. It can be set by the user by giving the compiler an argument
00091  * usually -DRS_USE_INLINE (to define it) or -URS_USE_INLINE (to undefine it).
00092  */
00093 
00094 #ifndef RS_USE_INLINE
00095 #  include "PredicateWithVector.icc"
00096 #endif

Generated on Mon Aug 29 07:57:59 2011 for RoboSoc by doxygen1.3-rc3