diff --git a/class_etk__Archive.html b/class_etk__Archive.html index d1b5c8f..4b8f62c 100644 --- a/class_etk__Archive.html +++ b/class_etk__Archive.html @@ -15,6 +15,8 @@

Constructor and Destructor:

-+                             Archive     (const std::string & _fileName);
+ virtual ~Archive (void );
++ Archive (const std::string & _fileName);
+ virtual ~Archive ();

Synopsis:

-#         std::string         m_fileName;
+ const std::string & getFileName (void );
# etk::Hash<Content> m_content;
+ int32_t size (void ) const;
+ const std::string & getName (int32_t _id) const;
+ const Content & getContent (int32_t _id) const;
+ const Content & getContent (const std::string & _key) const;
+ bool exist (const std::string & _key) const;
+ void open (const std::string & _key);
+ void close (const std::string & _key);
+ void display (void );
# virtual void loadFile (int32_t _id);
+ Archive* load (const std::string & _fileName);
+# std::string m_fileName;
+ const std::string & getFileName ();
# std::map<std::string,Content> m_content;
+ int32_t size () const;
+ const std::string & getName (size_t _id) const;
+ const Content & getContent (size_t _id) const;
+ const Content & getContent (const std::string & _key) const;
+ bool exist (const std::string & _key) const;
+ void open (const std::string & _key);
+ void close (const std::string & _key);
+ void display ();
# virtual void loadFile (const std::map ,
Content>::iterator & it);
+ Archive* load (const std::string & _fileName);

Object Hierarchy:

 etk::Archive
+--> etk::archive::Zip

Detail:

-

Archive

+

Archive

 +  Archive (const std::string & _fileName);



-

~Archive

-+ virtual  ~Archive (void );
+

~Archive

++ virtual  ~Archive ();



-

m_fileName

+

m_fileName

 # std::string m_fileName;
File name when it came from an file


-

getFileName

-+ const std::string & getFileName (void );
+

getFileName

++ const std::string & getFileName ();
Get the current file name.

Synopsis:

-+ bool                         exist                    (void ) const;
+ enum typeNode getNodeType (void ) const;
+ etk::FSNodeRight getRight (void ) const;
+ bool setRight (etk::FSNodeRight _newRight);
+ void setName (const std::string & _newName);
+ void setName (const std::u32string & _newName);
+ std::string getFileSystemName (void ) const;
+ std::u32string getUFileSystemName (void ) const;
+ std::string getNameFolder (void ) const;
+ std::u32string getUNameFolder (void ) const;
+ std::string getName (void ) const;
+ std::u32string getUName (void ) const;
+ std::string getNameFile (void ) const;
+ std::u32string getUNameFile (void ) const;
+ std::string getRelativeFolder (void ) const;
+ std::u32string getURelativeFolder (void ) const;
+ bool touch (void );
+ bool move (const std::string & _path);
+ bool move (const std::u32string & _path);
+ enum FSNType getTypeAccess (void ) const;
+ bool remove (void );
+ uint64_t timeCreated (void ) const;
+ std::string timeCreatedString (void ) const;
+ std::u32string timeUCreatedString (void ) const;
+ uint64_t timeModified (void ) const;
+ std::string timeModifiedString (void ) const;
+ std::u32string timeUModifiedString (void ) const;
+ uint64_t timeAccessed (void ) const;
+ std::string timeAccessedString (void ) const;
+ std::u32string timeUAccessedString (void ) const;
+ const etk::FSNode & operator = (const etk::FSNode & _obj);
+ bool operator == (const etk::FSNode & _obj) const;
+ bool operator != (const etk::FSNode & _obj) const;
+ friendetk::CCout & operator << (etk::CCout & _os,
const etk::FSNode & _obj);
+ int64_t folderCount (void );
+ std::vector<etk::FSNode*> folderGetSubList (bool _showHidenFile,
bool _getFolderAndOther,
bool _getFile,
bool _temporaryFile);
+ etk::FSNode folderGetParent (void );
+ void folderGetRecursiveFiles (std::vector<std::string> & _output,
bool _recursiveEnable);
+ void folderGetRecursiveFiles (std::vector<std::u32string> & _output,
bool _recursiveEnable);
+ bool fileHasExtention (void );
+ std::string fileGetExtention (void );
+ std::u32string fileUGetExtention (void );
+ uint64_t fileSize (void );
+ bool fileOpenRead (void );
+ bool fileOpenWrite (void );
+ bool fileOpenAppend (void );
+ bool fileClose (void );
+ char* fileGets (char* _elementLine,
int64_t _maxData);
+ char fileGet (void );
+ int64_t fileRead (void* _data,
int64_t _blockSize,
int64_t _nbBlock);
+ int64_t fileWrite (void* _data,
int64_t _blockSize,
int64_t _nbBlock);
+ bool fileSeek (longint _offset,
enum etk::seekNode _origin);
+ void fileFlush (void );
++ bool exist () const;
+ enum typeNode getNodeType () const;
+ etk::FSNodeRight getRight () const;
+ bool setRight (etk::FSNodeRight _newRight);
+ void setName (const std::string & _newName);
+ void setName (const std::u32string & _newName);
+ std::string getFileSystemName () const;
+ std::u32string getUFileSystemName () const;
+ std::string getNameFolder () const;
+ std::u32string getUNameFolder () const;
+ std::string getName () const;
+ std::u32string getUName () const;
+ std::string getNameFile () const;
+ std::u32string getUNameFile () const;
+ std::string getRelativeFolder () const;
+ std::u32string getURelativeFolder () const;
+ bool touch ();
+ bool move (const std::string & _path);
+ bool move (const std::u32string & _path);
+ enum FSNType getTypeAccess () const;
+ bool remove ();
+ uint64_t timeCreated () const;
+ std::string timeCreatedString () const;
+ std::u32string timeUCreatedString () const;
+ uint64_t timeModified () const;
+ std::string timeModifiedString () const;
+ std::u32string timeUModifiedString () const;
+ uint64_t timeAccessed () const;
+ std::string timeAccessedString () const;
+ std::u32string timeUAccessedString () const;
+ const etk::FSNode & operator = (const etk::FSNode & _obj);
+ bool operator == (const etk::FSNode & _obj) const;
+ bool operator != (const etk::FSNode & _obj) const;
+ friendstd::ostream & operator << (std::ostream & _os,
const etk::FSNode & _obj);
+ int64_t folderCount ();
+ std::vector<etk::FSNode*> folderGetSubList (bool _showHidenFile,
bool _getFolderAndOther,
bool _getFile,
bool _temporaryFile);
+ etk::FSNode folderGetParent ();
+ void folderGetRecursiveFiles (std::vector<std::string> & _output,
bool _recursiveEnable);
+ void folderGetRecursiveFiles (std::vector<std::u32string> & _output,
bool _recursiveEnable);
+ bool fileHasExtention ();
+ std::string fileGetExtention ();
+ std::u32string fileUGetExtention ();
+ uint64_t fileSize ();
+ bool fileOpenRead ();
+ bool fileOpenWrite ();
+ bool fileOpenAppend ();
+ bool fileClose ();
+ char* fileGets (char* _elementLine,
int64_t _maxData);
+ char fileGet ();
+ bool fileGets (std::string & _output);
+ bool filePut (char _input);
+ bool filePuts (const std::string & _input);
+ int64_t fileRead (void* _data,
int64_t _blockSize,
int64_t _nbBlock);
+ int64_t fileWrite (const void* _data,
int64_t _blockSize,
int64_t _nbBlock);
+ int64_t fileTell ();
+ bool fileSeek (longint _offset,
enum etk::seekNode _origin);
+ void fileFlush ();
+ std::vector<T> fileReadAll ();
+ std::string fileReadAllString ();
+ std::u32string fileReadAllU32String ();
+ void fileWriteAll (const std::vector<T> & _value);
+ void fileWriteAll (const std::string & _value);
+ void fileWriteAll (const std::u32string & _value);

Detail:

-

FSNode

+

FSNode

 +  FSNode (const std::string & _path);
Constructor