summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf/SchemaPropertyImpl.h
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2010-09-21 21:48:41 +0000
committerTed Ross <tross@apache.org>2010-09-21 21:48:41 +0000
commitd47927b3e150057f6d615a0d00c8eff6c83320ac (patch)
tree6cf1da8bd7a46fd3cef8251af94f88bbad0e627d /qpid/cpp/src/qmf/SchemaPropertyImpl.h
parent81414cc0fb52efbd77e3e3bc83ed0c5dcb7fe83a (diff)
downloadqpid-python-d47927b3e150057f6d615a0d00c8eff6c83320ac.tar.gz
QMFv2 Additions:
- QMFv2 schema encoding completed - Schema queries handled by the agent and initiated by the console by user request - Full query support with predicates evaluated on the agent (regex not yet implemented) - Agent filtering in the console - Agent aging in the console - Unit tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/SchemaPropertyImpl.h')
-rw-r--r--qpid/cpp/src/qmf/SchemaPropertyImpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/src/qmf/SchemaPropertyImpl.h b/qpid/cpp/src/qmf/SchemaPropertyImpl.h
index 94994c722d..cdfc29066f 100644
--- a/qpid/cpp/src/qmf/SchemaPropertyImpl.h
+++ b/qpid/cpp/src/qmf/SchemaPropertyImpl.h
@@ -42,6 +42,7 @@ namespace qmf {
//
SchemaPropertyImpl(const qpid::types::Variant::Map& m);
SchemaPropertyImpl(qpid::management::Buffer& v1Buffer);
+ qpid::types::Variant::Map asMap() const;
void updateHash(Hash&) const;
void encodeV1(qpid::management::Buffer&, bool isArg, bool isMethodArg) const;
@@ -58,6 +59,7 @@ namespace qmf {
void setDirection(int d) { direction = d; }
const std::string& getName() const { return name; }
+ int getType() const { return dataType; }
int getAccess() const { return access; }
bool isIndex() const { return index; }
bool isOptional() const { return optional; }
@@ -65,6 +67,7 @@ namespace qmf {
const std::string& getDesc() const { return desc; }
const std::string& getSubtype() const { return subtype; }
int getDirection() const { return direction; }
+
private:
std::string name;
int dataType;