diff options
Diffstat (limited to 'cpp/lib/common')
| -rw-r--r-- | cpp/lib/common/framing/FramingContent.cpp | 30 | ||||
| -rw-r--r-- | cpp/lib/common/framing/FramingContent.h | 27 |
2 files changed, 21 insertions, 36 deletions
diff --git a/cpp/lib/common/framing/FramingContent.cpp b/cpp/lib/common/framing/FramingContent.cpp index e5f50b5075..70c56e1fdd 100644 --- a/cpp/lib/common/framing/FramingContent.cpp +++ b/cpp/lib/common/framing/FramingContent.cpp @@ -18,24 +18,30 @@ * under the License. * */ -#include <Buffer.h> -#include <FramingContent.h> +#include <assert.h> -namespace qpid -{ -namespace framing -{ +#include "Buffer.h" +#include "FramingContent.h" + +namespace qpid { +namespace framing { Content::~Content() {} -void Content::encode(Buffer&) const -{ +void Content::encode(Buffer&) const { + assert(0); // FIXME aconway 2007-01-04: 0-9 feature +} + +void Content::decode(Buffer&) { + assert(0); // FIXME aconway 2007-01-04: 0-9 feature } -void Content::decode(Buffer&) -{ +size_t Content::size() const { + assert(0); // FIXME aconway 2007-01-04: 0-9 feature } +std::ostream& operator<<(std::ostream&, const Content&) { + assert(0); // FIXME aconway 2007-01-04: 0-9 feature +} -} // namespace framing -} // namespace qpid +}} // namespace framing::qpid diff --git a/cpp/lib/common/framing/FramingContent.h b/cpp/lib/common/framing/FramingContent.h index d9556e5188..833e766f9a 100644 --- a/cpp/lib/common/framing/FramingContent.h +++ b/cpp/lib/common/framing/FramingContent.h @@ -1,26 +1,5 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ - -#ifndef _Content_ -#define _Content_ +#ifndef _framing_FramingContent_h +#define _framing_FramingContent_h #include <ostream> @@ -45,4 +24,4 @@ class Content }} // namespace qpid::framing -#endif +#endif /*!_framing_FramingContent_h*/ |
