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 | 79a29f32ef84c26de35d3e75c3acff314b727f56 (patch) | |
| tree | d66d4d2a8a6cc2d9836fd1816b818a1c6e859e35 /cpp/src/qmf/engine/SchemaImpl.h | |
| parent | ac53f58b4387bc54b186a9ac3a8933ecce77790e (diff) | |
| download | qpid-python-79a29f32ef84c26de35d3e75c3acff314b727f56.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/qpid@898727 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qmf/engine/SchemaImpl.h')
| -rw-r--r-- | cpp/src/qmf/engine/SchemaImpl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qmf/engine/SchemaImpl.h b/cpp/src/qmf/engine/SchemaImpl.h index af3a1d98e4..7be757ee8d 100644 --- a/cpp/src/qmf/engine/SchemaImpl.h +++ b/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; }; |
