libUTL++
File.h
1
#pragma once
2
4
5
#include <libutl/FSobject.h>
6
8
9
UTL_NS_BEGIN;
10
12
20
22
class
File
:
public
FSobject
23
{
24
UTL_CLASS_DECL
(
File
,
FSobject
);
25
UTL_CLASS_DEFID
;
26
27
public
:
33
File
(
const
String
& path,
const
Directory
* dir =
nullptr
)
34
:
FSobject
(path, dir)
35
{
36
}
37
39
void
make(
uint_t
mode =
uint_t_max
)
const
;
40
};
41
43
44
UTL_NS_END;
utl::File
File in a filesystem.
Definition:
File.h:22
UTL_CLASS_DEFID
#define UTL_CLASS_DEFID
Default init() and deInit() (which are merely place-holders).
Definition:
macros.h:532
UTL_CLASS_DECL
#define UTL_CLASS_DECL(DC, BC)
Declaration of standard UTL++ functionality for a non-template class.
Definition:
macros.h:688
utl::String
Character string.
Definition:
String.h:31
utl::File::File
File(const String &path, const Directory *dir=nullptr)
Constructor.
Definition:
File.h:33
utl::FSobject
Filesystem object.
Definition:
FSobject.h:35
utl::uint_t
unsigned int uint_t
Unsigned integer.
Definition:
types.h:59
utl::Directory
Directory filesystem object.
Definition:
Directory.h:75
utl::uint_t_max
const uint_t uint_t_max
Maximum uint_t value.
ufs
File.h
Generated on Tue Feb 7 2017 20:11:32 for libUTL++ by
1.8.13