.. oe:namespace:: OEPlatform



.. meta::
   :keywords: OEFile, File


.. _OEPlatform_OEFile:

.. oe:class:: OEFile

   .. oe:api::


      class OEFile

   This class represents `OEFile`.

   
   .. oe:method:: Constructors

      .. oe:api::

         OEFile(const OEFile &)
         OEFile(const std::string &="")
         OEFile(const std::string &, const std::string &)

      Default and copy constructors.

   .. oe:method:: operator=
      :language: c++

      .. oe:api::

         OEFile& operator=(const OEFile &)

      Assignment operator.


   .. oe:method:: AbsPath

      .. oe:api::

         std::string AbsPath() const

   .. oe:method:: DirContents

      .. oe:api::

         std::vector<std::string> DirContents() const

   .. oe:method:: DirPath

      .. oe:api::

         std::string DirPath() const

   .. oe:method:: Exists

      .. oe:api::

         bool Exists() const

   .. oe:method:: FileName

      .. oe:api::

         std::string FileName() const

   .. oe:method:: IsDirectory

      .. oe:api::

         bool IsDirectory() const

   .. oe:method:: IsExecutable

      .. oe:api::

         bool IsExecutable() const

   .. oe:method:: IsFile

      .. oe:api::

         bool IsFile() const

   .. oe:method:: IsLink

      .. oe:api::

         bool IsLink() const

   .. oe:method:: IsReadable

      .. oe:api::

         bool IsReadable() const

   .. oe:method:: IsWritable

      .. oe:api::

         bool IsWritable() const

   .. oe:method:: Refresh

      .. oe:api::

         bool Refresh()

   .. oe:method:: Set

      .. oe:api::

         bool Set(const std::string &)
         bool Set(const std::string &, const std::string &)

   .. oe:method:: Size

      .. oe:api::

         oesize_t Size() const

