269 std::string rasmgrName;
275 std::string userName;
278 std::string plainPass;
The class ClientComm represents one connection between one client entity (for example an object of cl...
Definition clientcomm.hh:51
A database object must be instantiated and opened before starting any transaction which uses the data...
Definition database.hh:60
const r_OId get_new_oid(unsigned short objType) const
void set_transfer_format(r_Data_Format format, const char *formatParams=NULL)
The method looks up the type structure with typeName as its name.
~r_Database()
One error situations can occur which raise an exception of type r_Error with one of the following kin...
static r_Database * actual_database
This method sets the storage format to use for MDD created by this client in the RasDaMan database.
Definition database.hh:244
void set_useridentification(const char *name, const char *plain_pass)
One of error situations can occur will raise an exception of type r_Error with one of the following k...
r_Ref_Any lookup_object(const char *name) const
The method gives the name to the object obj.
r_Type * get_type_schema(const char *typeName, type_schema typetype)
The method looks up an object with oid.
void set_object_name(r_Object &obj, const char *name)
give a name to an object (signature is not ODMG conformant because of compiler bug)
void insertColl(const char *collName, const char *typeName, const r_OId &oid)
access_status
possible database states
Definition database.hh:64
@ read_write
Definition database.hh:66
@ exclusive
Definition database.hh:68
@ not_open
Definition database.hh:65
@ read_only
Definition database.hh:67
access_status get_status() const
One of error situations can occur will raise an exception of type r_Error with one of the following k...
void removeObjFromColl(const char *name, const r_OId &oid)
removes an object from a collection
void create(const char *name)
create a database with fixed schema RasDaSchema
type_schema
possible types define by symbolic names
Definition database.hh:73
@ COLLECTION
Definition database.hh:76
@ MARRAY
Definition database.hh:75
@ CELL
Definition database.hh:74
void destroy(const char *name)
This method works only if a server host name has been specified with set_servername().
void set_servername(const char *name, int port=DEFAULT_PORT)
This method works only if a server host name has been specified with set_servername().
r_Database(const char *name)
constructor getting the rasmgr name
void close()
The method opens the database specified with database_name.
void set_storage_format(r_Data_Format format, const char *formatParams=NULL)
The method sets the transfer compression used for the communications of this client with the server.
r_Ref_Any lookup_object(const r_OId &oid) const
The method looks up an object with name.
r_Database()
default constructor
void open(const char *database_name, access_status status=read_write)
open a database
Class r_OId represents an object identifier.
Definition oid.hh:39
Through inheritance of this class, the type definer specifies that the subclass is capable of having ...
Definition object.hh:62
The class r_Ref_Any is defined to support a reference to any type.
Definition ref.hh:65
This class the superclass for all types in the ODMG conformant representation of the RasDaMan type sy...
Definition type.hh:51
r_Data_Format
\begin{tabular}{ll} <tt>r_Array</tt> && no compression, row-major memory representation\...
Definition mddtypes.hh:94