diff options
| author | Ted Ross <tross@apache.org> | 2010-01-13 11:57:19 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-01-13 11:57:19 +0000 |
| commit | fd64f22be60f12e03df8974b547cd9b3af331601 (patch) | |
| tree | e2d9cafd894623102b5b1384d00af75db4dc88ff /qpid/cpp/src/qmf/engine/SchemaImpl.h | |
| parent | 26280399738211de3f472b625091ff22c762538b (diff) | |
| download | qpid-python-fd64f22be60f12e03df8974b547cd9b3af331601.tar.gz | |
Added raise_event support to the Ruby and Python wrapped agent APIs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@898727 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/engine/SchemaImpl.h')
| -rw-r--r-- | qpid/cpp/src/qmf/engine/SchemaImpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/cpp/src/qmf/engine/SchemaImpl.h b/qpid/cpp/src/qmf/engine/SchemaImpl.h index af3a1d98e4..7be757ee8d 100644 --- a/qpid/cpp/src/qmf/engine/SchemaImpl.h +++ b/qpid/cpp/src/qmf/engine/SchemaImpl.h @@ -201,10 +201,11 @@ namespace engine { mutable bool hasHash; std::auto_ptr<SchemaClassKey> classKey; std::string description; + Severity severity; std::vector<const SchemaArgument*> arguments; - SchemaEventClassImpl(const char* p, const char* n) : - package(p), name(n), hasHash(false), classKey(SchemaClassKeyImpl::factory(package, name, hash)) {} + SchemaEventClassImpl(const char* p, const char* n, Severity sev) : + package(p), name(n), hasHash(false), classKey(SchemaClassKeyImpl::factory(package, name, hash)), severity(sev) {} SchemaEventClassImpl(qpid::framing::Buffer& buffer); static SchemaEventClass* factory(qpid::framing::Buffer& buffer); @@ -213,6 +214,7 @@ namespace engine { void setDesc(const char* desc) { description = desc; } const SchemaClassKey* getClassKey() const; + Severity getSeverity() const { return severity; } int getArgumentCount() const { return arguments.size(); } const SchemaArgument* getArgument(int idx) const; }; |
