Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 410 Bytes
#include "settings.h"
#include "xscript/cached_object.h"
#include "tag_key_memory.h"
namespace xscript {
TagKeyMemory::TagKeyMemory(const Context *ctx,
const InvokeContext *invoke_ctx, const CachedObject *obj) : value_()
{
assert(NULL != ctx);
assert(NULL != obj);
value_ = obj->createTagKey(ctx, invoke_ctx);
}
const std::string&
TagKeyMemory::asString() const {
return value_;
}
}