Stores informnations about object in the filesystem. More...
#include <filesys.h>
Public Member Functions | |
c_file () | |
bool | can_delete (string user) |
Checks if the passed user has DELETE permission to this object. | |
bool | can_read (string user) |
Checks if the passed user has READ permission to this object. | |
void | clear () |
Clears the structure. | |
bool | is_owner (string user) |
Checks if the passed user is OWNER of this object. | |
Public Attributes | |
vector< c_access > | access |
Access rights of object. | |
bool | complete |
Was the file complete received? (only valid if file_type==ft_file). | |
vector< c_event > | events |
Events that occured to the object. | |
my_time_t | expiration |
Time of expiration. | |
bool | expired |
Fas the file been deleted after expiration? | |
e_file_type | file_type |
Type of object. | |
my_time_t | ftime |
Time of creation of this object. | |
string | internal_name |
Internal file name of contents of object. | |
string | public_name |
Public name of object. | |
bool | published |
Has the object been published? | |
string | sender_file_name |
Name of the file as provided by sender (only valid if file_type==ft_file). |
Stores informnations about object in the filesystem.
Definition at line 199 of file filesys.h.