Public Member Functions | Public Attributes

c_file Class Reference

Stores informnations about object in the filesystem. More...

#include <filesys.h>

Collaboration diagram for c_file:

List of all members.

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_accessaccess
 Access rights of object.
bool complete
 Was the file complete received? (only valid if file_type==ft_file).
vector< c_eventevents
 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).

Detailed Description

Stores informnations about object in the filesystem.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 199 of file filesys.h.


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

Generated on Sat Aug 7 2010 15:28:53 for VooDoo cIRCle by doxygen 1.7.1

Get VooDoo cIRCle at SourceForge.net. Fast, secure and Free Open Source software downloads