You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ryzom-core/ryzom/tools/client/client_drone/cdb.cpp

39 lines
618 B
C++

/** \file cdb.cpp
*
* $Id$
*/
//#include "stdpch.h"
//////////////
// Includes //
//////////////
#include "cdb.h"
#include "cdb_branch.h"
#include <nel/misc/bit_mem_stream.h>
////////////////
// Namespaces //
////////////////
using namespace NLMISC;
using namespace std;
CStringMapper *ICDBNode::_DBSM = NULL;
std::string ICDBNode::getFullName()
{
std::string sTmp = _DBSM->localUnmap(_Name);
CCDBNodeBranch *pParent = getParent();
if (pParent == NULL) return sTmp;
while (pParent->getParent() != NULL)
{
sTmp = *pParent->getName() + ":" + sTmp;
pParent = pParent->getParent();
}
return sTmp;
}