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
666 B
C++

/** \file cdb.cpp
*
* $Id: cdb.cpp,v 1.1 2005/09/19 09:50:17 boucher Exp $
*/
//#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;
}