cyphesis/tests/stubs/server/stubServerAccount.h
2018-02-08 21:47:22 +01:00

52 lines
No EOL
1.6 KiB
C++

// AUTOGENERATED file, created by the tool generate_stub.py, don't edit!
// If you want to add your own functionality, instead edit the stubServerAccount_custom.h file.
#include "server/ServerAccount.h"
#include "stubServerAccount_custom.h"
#ifndef STUB_SERVER_SERVERACCOUNT_H
#define STUB_SERVER_SERVERACCOUNT_H
#ifndef STUB_ServerAccount_characterError
//#define STUB_ServerAccount_characterError
int ServerAccount::characterError(const Operation & op, const Atlas::Objects::Root & ent, OpVector & res) const
{
return 0;
}
#endif //STUB_ServerAccount_characterError
#ifndef STUB_ServerAccount_addNewEntity
//#define STUB_ServerAccount_addNewEntity
LocatedEntity* ServerAccount::addNewEntity(const std::string &, const Atlas::Objects::Entity::RootEntity &, const Atlas::Objects::Root &)
{
return nullptr;
}
#endif //STUB_ServerAccount_addNewEntity
#ifndef STUB_ServerAccount_createObject
//#define STUB_ServerAccount_createObject
void ServerAccount::createObject(const std::string &, const Atlas::Objects::Root &, const Operation &, OpVector &)
{
}
#endif //STUB_ServerAccount_createObject
#ifndef STUB_ServerAccount_ServerAccount
//#define STUB_ServerAccount_ServerAccount
ServerAccount::ServerAccount(Connection * conn, const std::string & username, const std::string & passwd, const std::string & id, long intId)
: Account(conn, username, passwd, id, intId)
{
}
#endif //STUB_ServerAccount_ServerAccount
#ifndef STUB_ServerAccount_getType
//#define STUB_ServerAccount_getType
const char* ServerAccount::getType() const
{
return nullptr;
}
#endif //STUB_ServerAccount_getType
#endif