Changeset 1164 in Sophya for trunk/SophyaPI/PIext/nobjmgr.h
- Timestamp:
- Aug 30, 2000, 1:10:17 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nobjmgr.h
r495 r1164 8 8 9 9 #include "machdefs.h" 10 11 #include <fstream.h> 12 #include <string> 13 #include <vector> 14 10 15 #include "anydataobj.h" 11 16 #include "ppersist.h" 17 #include "dvlist.h" 12 18 #include "dlftypes.h" 13 19 14 #include <string>15 #include <vector>16 20 17 21 class NObjMgrAdapter; … … 28 32 virtual void SetVerbose(bool fg=false); 29 33 34 // Gestion des variables globales (dans un DVList) 35 virtual bool SetVar(string const & key, string const & val); 36 virtual bool HasVar(string const & key); 37 virtual bool DeleteVar(string const & key); 38 virtual string GetVar(string const & key); 39 virtual DVList& GetVarList(); 30 40 31 // Gestion des repertoires 41 // Gestion des repertoires (Repertoire d'objets en memoire) 32 42 virtual bool CreateDir(string & dirname); 33 43 virtual bool DeleteDir(string & dirname); … … 44 54 virtual bool AddObj(AnyDataObj* obj, string & nom, bool crd=false); 45 55 virtual bool RenameObj(string & nom, string& nomnew); 46 virtual bool CopyObj(string & nom, string& nomcp);47 56 virtual bool DelObj(string & nom, bool fgd=true); 48 57 virtual void DelObjects(string & patt, bool fgd=true); 49 58 virtual bool DelObj_Id(int oid); 50 59 virtual AnyDataObj* GetObj(string & nom); 60 // Acces a l'adaptateur 61 virtual NObjMgrAdapter* GetObjAdapter(string & nom); 62 // Liste des objets 51 63 virtual void ListObjs(string & patt); 52 64 virtual void GetObjList(string & patt, vector<string>& ); 65 // Methode CopyObj() a virer probablement (Reza 30/8/200 obsolete ?) 66 virtual void CopyObj(string & nom, string& nomcp) 53 67 54 68 // Lecture et sauvegarde des objets sur fichier … … 78 92 virtual void SetGraphicWinZone(int nzx, int nzy, bool fcr=false); 79 93 80 // Acces a l'adaptateur81 virtual NObjMgrAdapter* GetObjAdapter(string & nom);82 94 83 95 // Acces au PIApplication et a la classe de service
Note:
See TracChangeset
for help on using the changeset viewer.