| 
    OpenDDS
    Snapshot(2023/03/10-19:29)
    
   | 
 
#include <FileSystemStorage.h>


Public Types | |
| typedef RcHandle< File > | Ptr | 
Public Member Functions | |
| bool | write (std::ofstream &stream) | 
| bool | read (std::ifstream &stream) | 
| bool | remove () | 
| OPENDDS_STRING | name () const | 
| Directory::Ptr | parent () const | 
  Public Member Functions inherited from OpenDDS::DCPS::RcObject | |
| virtual | ~RcObject () | 
| virtual void | _add_ref () | 
| virtual void | _remove_ref () | 
| long | ref_count () const | 
| WeakObject * | _get_weak_object () const | 
Private Member Functions | |
| File (const ACE_TString &fname_phys, const ACE_TString &logical, const Directory::Ptr &parent) | |
Private Attributes | |
| ACE_TString | physical_file_ | 
| ACE_TString | physical_dir_ | 
| ACE_TString | logical_relative_ | 
| Directory::Ptr | parent_ | 
Friends | |
| class | Directory | 
| template<typename Item > | |
| class | Directory::Iterator | 
| template<typename T , typename U0 , typename U1 , typename U2 > | |
| OpenDDS::DCPS::RcHandle< T > | OpenDDS::DCPS::make_rch (const U0 &, const U1 &, const U2 &) | 
Additional Inherited Members | |
  Protected Member Functions inherited from OpenDDS::DCPS::RcObject | |
| RcObject () | |
Definition at line 224 of file FileSystemStorage.h.
Definition at line 226 of file FileSystemStorage.h.
      
  | 
  private | 
Definition at line 459 of file FileSystemStorage.cpp.
References ACE_TEXT(), ACE_String_Base< char >::c_str(), ACE_String_Base_Const::npos, physical_dir_, physical_file_, ACE_String_Base< char >::rfind(), and ACE_String_Base< char >::set().
| OPENDDS_STRING OpenDDS::FileSystemStorage::File::name | ( | void | ) | const | 
Definition at line 510 of file FileSystemStorage.cpp.
References ACE_TEXT_ALWAYS_CHAR, ACE_String_Base< char >::c_str(), and logical_relative_.
      
  | 
  inline | 
Definition at line 232 of file FileSystemStorage.h.
| bool OpenDDS::FileSystemStorage::File::read | ( | std::ifstream & | stream | ) | 
Definition at line 486 of file FileSystemStorage.cpp.
References ACE_TEXT_ALWAYS_CHAR, ACE_String_Base< char >::c_str(), physical_dir_, and physical_file_.
| bool OpenDDS::FileSystemStorage::File::remove | ( | void | ) | 
Definition at line 494 of file FileSystemStorage.cpp.
References ACE_String_Base< char >::c_str(), logical_relative_, parent_, physical_dir_, physical_file_, and ACE_OS::unlink().
| bool OpenDDS::FileSystemStorage::File::write | ( | std::ofstream & | stream | ) | 
Definition at line 478 of file FileSystemStorage.cpp.
References ACE_TEXT_ALWAYS_CHAR, ACE_String_Base< char >::c_str(), physical_dir_, and physical_file_.
      
  | 
  friend | 
Definition at line 237 of file FileSystemStorage.h.
      
  | 
  friend | 
Definition at line 240 of file FileSystemStorage.h.
      
  | 
  friend | 
      
  | 
  private | 
Definition at line 244 of file FileSystemStorage.h.
      
  | 
  private | 
Definition at line 245 of file FileSystemStorage.h.
Referenced by OpenDDS::FileSystemStorage::Directory::remove(), and remove().
      
  | 
  private | 
      
  | 
  private | 
 1.8.13