* 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
28 lines
578 B
C++
28 lines
578 B
C++
#ifndef TOKEN_COMPONENT_ACCESS_H
|
|
#define TOKEN_COMPONENT_ACCESS_H
|
|
|
|
#include <string>
|
|
|
|
#include "data/graph/token_component/TokenComponent.h"
|
|
#include "data/parser/AccessKind.h"
|
|
|
|
class TokenComponentAccess
|
|
: public TokenComponent
|
|
{
|
|
public:
|
|
static std::wstring getAccessString(AccessKind access);
|
|
|
|
TokenComponentAccess(AccessKind access);
|
|
virtual ~TokenComponentAccess();
|
|
|
|
virtual std::shared_ptr<TokenComponent> copy() const;
|
|
|
|
AccessKind getAccess() const;
|
|
std::wstring getAccessString() const;
|
|
|
|
private:
|
|
const AccessKind m_access;
|
|
};
|
|
|
|
#endif // TOKEN_COMPONENT_ACCESS_H
|