logic: use wstring in symbol and bookmark names
* use wstring in symbol and bookmark names * fixed setting apppath in windows includes * regard utf8 encoding in shared indexer commands * regard utf8 encoding in shared indexer status
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
#ifndef MESSAGE_ACTIVATE_EDGE_H
|
||||
#define MESSAGE_ACTIVATE_EDGE_H
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
|
||||
#include "data/graph/Edge.h"
|
||||
#include "data/name/NameHierarchy.h"
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
#include "utility/utilityString.h"
|
||||
|
||||
class MessageActivateEdge
|
||||
: public Message<MessageActivateEdge>
|
||||
{
|
||||
@@ -35,10 +36,10 @@ public:
|
||||
|
||||
std::string getFullName() const
|
||||
{
|
||||
std::string name = Edge::getReadableTypeString(type) + ":";
|
||||
name += sourceNameHierarchy.getQualifiedNameWithSignature() + "->";
|
||||
std::wstring name = Edge::getReadableTypeString(type) + L":";
|
||||
name += sourceNameHierarchy.getQualifiedNameWithSignature() + L"->";
|
||||
name += targetNameHierarchy.getQualifiedNameWithSignature();
|
||||
return name;
|
||||
return utility::encodeToUtf8(name);
|
||||
}
|
||||
|
||||
virtual void print(std::ostream& os) const
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
#ifndef MESSAGE_ACTIVATE_TRAIL_EDGE_H
|
||||
#define MESSAGE_ACTIVATE_TRAIL_EDGE_H
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
|
||||
#include "data/graph/Edge.h"
|
||||
#include "data/name/NameHierarchy.h"
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
#include "utility/utilityString.h"
|
||||
|
||||
class MessageActivateTrailEdge
|
||||
: public Message<MessageActivateTrailEdge>
|
||||
{
|
||||
@@ -28,10 +29,10 @@ public:
|
||||
|
||||
std::string getFullName() const
|
||||
{
|
||||
std::string name = Edge::getReadableTypeString(type) + ":";
|
||||
name += sourceNameHierarchy.getQualifiedNameWithSignature() + "->";
|
||||
std::wstring name = Edge::getReadableTypeString(type) + L":";
|
||||
name += sourceNameHierarchy.getQualifiedNameWithSignature() + L"->";
|
||||
name += targetNameHierarchy.getQualifiedNameWithSignature();
|
||||
return name;
|
||||
return utility::encodeToUtf8(name);
|
||||
}
|
||||
|
||||
virtual void print(std::ostream& os) const
|
||||
|
||||
Reference in New Issue
Block a user