dataset_definition.cpp

Go to the documentation of this file.
00001 //--------------------------------------------------
00011 //---------------------------------------------------
00012 
00013 #include "dataset_definition.h"
00014 
00015 namespace imedgine 
00016 {
00017   //---------------------------------------------------
00018   
00019   DatasetDefinition::DatasetDefinition()
00020     :in_place_(true)
00021   {
00022   }
00023 
00024   //---------------------------------------------------
00025   
00026   DatasetDefinition::~DatasetDefinition()
00027   {
00028   }
00029   
00030   //---------------------------------------------------
00031   
00032   void DatasetDefinition::setName(std::string name)
00033   {
00034     name_ = name;
00035   }
00036   
00037   //---------------------------------------------------
00038   
00039   std::string DatasetDefinition::getName()
00040   {
00041     return name_;
00042   }
00043   
00044   //---------------------------------------------------
00045   
00046   void DatasetDefinition::setId(std::string id)
00047   {
00048     id_ = id;
00049   }
00050   
00051   //---------------------------------------------------
00052   
00053   std::string DatasetDefinition::getId()
00054   {
00055     return id_;
00056   }
00057   
00058   //---------------------------------------------------
00059   
00060   void DatasetDefinition::setInPlace(bool in_place)
00061   {
00062     in_place_ = in_place;
00063   }
00064   
00065   //---------------------------------------------------
00066   
00067   bool DatasetDefinition::isInPlace()
00068   {
00069     return in_place_;
00070   }
00071   
00072   //---------------------------------------------------
00073   
00074   std::string DatasetDefinition::toString()
00075   {
00076     std::stringstream output;
00077     output << "    in place: " << in_place_ << std::endl;
00078     return output.str();
00079   }
00080   
00081   //---------------------------------------------------
00082   
00083   void DatasetDefinition::setType(dataset_type type)
00084   {
00085     type_ = type;
00086   }
00087 
00088   //---------------------------------------------------
00089   
00090   dataset_type DatasetDefinition::getType()
00091   {
00092     return type_;
00093   } 
00094 }
00095 
00096 

Generated on Sun Aug 13 18:19:37 2006 for iMEDgine by  doxygen 1.4.6