Back to index

salome-kernel  6.5.0
SALOMEDSClient_AttributeStudyProperties.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  File   : SALOMEDSClient_AttributeStudyProperties.hxx
00024 //  Author : Sergey RUIN
00025 //  Module : SALOME
00026 //
00027 #ifndef SALOMEDSClient_AttributeStudyProperties_HeaderFile
00028 #define SALOMEDSClient_AttributeStudyProperties_HeaderFile
00029 
00030 #include <vector>
00031 #include <string>
00032 #include "SALOMEDSClient_definitions.hxx" 
00033 #include "SALOMEDSClient_GenericAttribute.hxx"
00034 
00035 class SALOMEDSClient_AttributeStudyProperties: public virtual SALOMEDSClient_GenericAttribute
00036 {
00037 public:
00038   
00039   virtual void SetUserName(const std::string& theName) = 0;
00040   virtual std::string GetUserName() = 0;
00041   virtual void SetCreationDate(int theMinute, int theHour, int theDay, int theMonth, int theYear) = 0;
00042   virtual bool GetCreationDate(int& theMinute, int& theHour, int& theDay, int& theMonth, int& theYear) = 0;
00043   virtual void SetCreationMode(const std::string& theMode) = 0;
00044   virtual std::string GetCreationMode() = 0;
00045   virtual void SetModified(int theModified) = 0;
00046   virtual bool IsModified() = 0;
00047   virtual int GetModified() = 0;
00048   virtual void SetLocked(bool theLocked) = 0;
00049   virtual bool IsLocked() = 0;
00050   virtual void SetModification(const std::string& theName,
00051                                int theMinute,
00052                                int theHour,
00053                                int theDay,
00054                                int theMonth,
00055                                int theYear) = 0;
00056   virtual void GetModificationsList(std::vector<std::string>& theNames,
00057                                     std::vector<int>& theMinutes,
00058                                     std::vector<int>& theHours,
00059                                     std::vector<int>& theDays,
00060                                     std::vector<int>& theMonths,
00061                                     std::vector<int>& theYears,
00062                                     bool theWithCreator) = 0;
00063   
00064   virtual void SetUnits(const std::string& theUnits) = 0;
00065   virtual std::string GetUnits() = 0;
00066 
00067   virtual void SetComment(const std::string& theComment) = 0;
00068   virtual std::string GetComment() = 0;
00069 
00070 
00071 };
00072 
00073 
00074 #endif