diff -r 68a281aefa76 -r 7128fabeede0 src/RelpipeASN1ContentHandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/RelpipeASN1ContentHandler.h Sun Jul 25 11:53:55 2021 +0200 @@ -0,0 +1,85 @@ +/** + * Relational pipes + * Copyright © 2021 František Kučera (Frantovo.cz, GlobalCode.info) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#pragma once + +#include +#include "lib/ASN1ContentHandler.h" +#include "Configuration.h" + +namespace relpipe { +namespace in { +namespace asn1 { + +class RelpipeASN1ContentHandler : public lib::ASN1ContentHandler { +private: + std::shared_ptr writer; + Configuration configuration; + +public: + + RelpipeASN1ContentHandler(std::shared_ptr writer, Configuration configuration) : writer(writer), configuration(configuration) { + } + + bool setOption(const std::string& uri, const std::string& value) override { + return false; + } + + void writeStreamStart() override { + } + + void writeStreamEnd() override { + } + + void writeCollectionStart(const Header& header) override { + } + + void writeCollectionEnd() override { + } + + void writeBitString(const Header& header, std::vector value) override { + } + + void writeBoolean(const Header& header, bool value) override { + } + + void writeDateTime(const Header& header, DateTime value) override { + } + + void writeInteger(const Header& header, Integer value) override { + } + + void writeNull(const Header& header) override { + } + + void writeOID(const Header& header, ObjectIdentifier value) override { + } + + void writeOctetString(const Header& header, std::string value) override { + } + + void writeTextString(const Header& header, std::string value) override { + } + + void writeSpecific(const Header& header, std::string value) override { + } + + +}; + +} +} +} \ No newline at end of file