Files
Sourcetrail/src/lib/data/graph/token_component/TokenComponentAccess.h
T
mlangkabel 9e041c1f0a 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
2018-02-05 17:17:33 +01:00

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