src/lib/ASN1Reader.h
branchv_0
changeset 40 85b6f13f1088
parent 32 00d76921c547
equal deleted inserted replaced
39:6ef41443211e 40:85b6f13f1088
    32 
    32 
    33 	virtual void addHandler(std::shared_ptr<ASN1ContentHandler> handler) {
    33 	virtual void addHandler(std::shared_ptr<ASN1ContentHandler> handler) {
    34 		handlers->addHandler(handler);
    34 		handlers->addHandler(handler);
    35 	};
    35 	};
    36 
    36 
       
    37 	/**
       
    38 	 * @param uri identifier of the option
       
    39 	 * @param value value of the option
       
    40 	 * @return whether this option is supported and was applied here
       
    41 	 */
       
    42 	virtual bool setOption(const std::string& uri, const std::string& value) {
       
    43 		return false;
       
    44 	}
       
    45 
    37 protected:
    46 protected:
    38 	std::shared_ptr<ASN1ContentHandlerProxy> handlers = std::make_shared<ASN1ContentHandlerProxy>();
    47 	std::shared_ptr<ASN1ContentHandlerProxy> handlers = std::make_shared<ASN1ContentHandlerProxy>();
    39 };
    48 };
    40 
    49 
    41 }
    50 }