Represents a cross-database reference to a document in MongoDB.
More...
#include <MemoryX/core/MongoDBRef.h>
|
armarx::VariantDataClassPtr | clone (const Ice::Current &c=Ice::emptyCurrent) const override |
|
void | deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &c=Ice::emptyCurrent) override |
| Read DBRef from serializer. More...
|
|
armarx::VariantTypeId | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
|
Ice::ObjectPtr | ice_clone () const override |
|
| MongoDBRef () |
| Construct an empty MongoDBRef. More...
|
|
| MongoDBRef (const ::std::string &dbName, const ::std::string &docId) |
| Construct a MongoDBRef. More...
|
|
std::string | output (const Ice::Current &c=Ice::emptyCurrent) const override |
|
void | serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &c=Ice::emptyCurrent) const override |
| Write this DBRef into serializer. More...
|
|
bool | validate (const Ice::Current &c=Ice::emptyCurrent) override |
|
| ~MongoDBRef () override |
|
Represents a cross-database reference to a document in MongoDB.
The MongoDBRef holds a pair of (database_name, document_id). It is currently used to store references to GridFS files in EntityAttribute.
Definition at line 45 of file MongoDBRef.h.
◆ MongoDBRef() [1/2]
◆ MongoDBRef() [2/2]
MongoDBRef |
( |
const ::std::string & |
dbName, |
|
|
const ::std::string & |
docId |
|
) |
| |
Construct a MongoDBRef.
- Parameters
-
dbName | mongo database name |
docId | document ID |
◆ ~MongoDBRef()
◆ clone()
armarx::VariantDataClassPtr clone |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
const |
|
inlineoverride |
◆ deserialize()
void deserialize |
( |
const armarx::ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| |
|
override |
◆ getType()
◆ ice_clone()
Ice::ObjectPtr ice_clone |
( |
| ) |
const |
|
inlineoverride |
◆ output()
std::string output |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
const |
|
inlineoverride |
◆ serialize()
void serialize |
( |
const armarx::ObjectSerializerBasePtr & |
serializer, |
|
|
const ::Ice::Current & |
c = Ice::emptyCurrent |
|
) |
| const |
|
override |
◆ validate()
bool validate |
( |
const Ice::Current & |
c = Ice::emptyCurrent | ) |
|
|
inlineoverride |
The documentation for this class was generated from the following files: