Objective-C++ Preprocessor  5.0 with ARC & GC
C++ classes to enhance syntax and manage reference counting.
Public Member Functions | List of all members
OOFile Class Reference

#include <objstr.h>

Inheritance diagram for OOFile:
OOURL OOReference< NSURL * > OODocument OOResource OOTmpFile

Public Member Functions

oo_inline OOFile ()
 
oo_inline OOFile (NSURL *url)
 
oo_inline OOFile (cOOFile file)
 
oo_inline OOFile (cOOString path, BOOL isDir=NO)
 
oo_inline OOFile (cOOString name, cOOString type)
 
oo_inline OOFilesetPath (cOOString path, BOOL isDir=NO)
 
oo_inline OOString path () const
 
oo_inline OOString name () const
 
oo_inline OOString dir () const
 
oo_inline OOString ext () const
 
oo_inline OOFilecanonize ()
 
oo_inline NSDictionary * attr (NSError **error=NULL) const
 
oo_inline unsigned long long size () const
 
oo_inline BOOL exists () const
 
oo_inline BOOL copyto (cOOString to) const
 
oo_inline BOOL moveto (cOOString to) const
 
oo_inline BOOL linkto (cOOString to) const
 
oo_inline BOOL remove ()
 
oo_inline BOOL mkdir (BOOL flag=YES, NSDictionary *attr=nil)
 
oo_inline OOFileoperator= (cOOString str)
 
oo_inline OOFileoperator= (cOOData data)
 
oo_inline OOFileoperator= (cOOFile file)
 
- Public Member Functions inherited from OOURL
oo_inline OOURL (NSURL *url)
 
oo_inline OOURL (cOOString url, NSURL *base=nil)
 
oo_inline OOURL (NSString *url=OONil, NSURL *base=nil)
 
oo_inline void setURL (cOOString url, NSURL *baseURL=nil)
 
oo_inline OORequest request () const
 
oo_inline BOOL operator== (cOOURL other)
 
oo_inline OOString string (NSStringEncoding *enc=NULL, NSError **error=NULL) const
 
oo_inline OOData data (NSDataReadingOptions readOptionsMask=0, NSError **errorPtr=NULL) const
 
oo_inline operator OOString () const
 
oo_inline operator OOData () const
 
oo_inline id object ()
 
oo_inline OOString post (cOOString post)
 
oo_inline BOOL save (cOOString string, NSStringEncoding encoding=NSUTF8StringEncoding)
 
oo_inline BOOL save (NSData *data, BOOL atomically=NO)
 
oo_inline BOOL save (id object, BOOL atomically=NO)
 
OONode xml (int flags=0)
 

Detailed Description

Placeholder for a file path, see OOResource, OODocument, OOTmpFile.

Definition at line 1195 of file objstr.h.

Constructor & Destructor Documentation

oo_inline OOFile::OOFile ( )
inline

Definition at line 1203 of file objstr.h.

oo_inline OOFile::OOFile ( NSURL *  url)
inline

Definition at line 1205 of file objstr.h.

oo_inline OOFile::OOFile ( cOOFile  file)
inline

Definition at line 1206 of file objstr.h.

oo_inline OOFile::OOFile ( cOOString  path,
BOOL  isDir = NO 
)
inline

Definition at line 1207 of file objstr.h.

oo_inline OOFile::OOFile ( cOOString  name,
cOOString  type 
)
inline

Definition at line 1210 of file objstr.h.

Member Function Documentation

oo_inline NSDictionary* OOFile::attr ( NSError **  error = NULL) const
inline

Definition at line 1233 of file objstr.h.

oo_inline OOFile& OOFile::canonize ( )
inline

Definition at line 1230 of file objstr.h.

oo_inline BOOL OOFile::copyto ( cOOString  to) const
inline

Definition at line 1243 of file objstr.h.

oo_inline OOString OOFile::dir ( ) const
inline

Definition at line 1224 of file objstr.h.

oo_inline BOOL OOFile::exists ( ) const
inline

Definition at line 1240 of file objstr.h.

oo_inline OOString OOFile::ext ( ) const
inline

Definition at line 1227 of file objstr.h.

oo_inline BOOL OOFile::linkto ( cOOString  to) const
inline

Definition at line 1249 of file objstr.h.

oo_inline BOOL OOFile::mkdir ( BOOL  flag = YES,
NSDictionary *  attr = nil 
)
inline

Definition at line 1255 of file objstr.h.

oo_inline BOOL OOFile::moveto ( cOOString  to) const
inline

Definition at line 1246 of file objstr.h.

oo_inline OOString OOFile::name ( ) const
inline

Definition at line 1221 of file objstr.h.

oo_inline OOFile& OOFile::operator= ( cOOString  str)
inline

Definition at line 1259 of file objstr.h.

oo_inline OOFile& OOFile::operator= ( cOOData  data)
inline

Definition at line 1262 of file objstr.h.

oo_inline OOFile& OOFile::operator= ( cOOFile  file)
inline

Definition at line 1265 of file objstr.h.

oo_inline OOString OOFile::path ( ) const
inline

Definition at line 1218 of file objstr.h.

oo_inline BOOL OOFile::remove ( )
inline

Definition at line 1252 of file objstr.h.

oo_inline OOFile& OOFile::setPath ( cOOString  path,
BOOL  isDir = NO 
)
inline

Definition at line 1213 of file objstr.h.

oo_inline unsigned long long OOFile::size ( ) const
inline

Definition at line 1236 of file objstr.h.


The documentation for this class was generated from the following file: