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:
mlangkabel
2018-02-05 17:17:33 +01:00
parent c99e79364f
commit 9e041c1f0a
155 changed files with 1955 additions and 1864 deletions
@@ -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