WireSchemaFile.h
Go to the documentation of this file.
1 /**
2  A wire schema store based on loading data from files.
3  */
4 
5 #ifndef WIRECELL_GEN_WIRESCHEMAFILE
6 #define WIRECELL_GEN_WIRESCHEMAFILE
7 
10 
11 #include <string>
12 
13 namespace WireCell {
14  namespace Gen {
15 
16  class WireSchemaFile : public IWireSchema, public IConfigurable {
17  public:
18  WireSchemaFile(const char* frfilename = "");
19  virtual ~WireSchemaFile();
20 
21  virtual const WireSchema::Store& wire_schema_store() const;
22 
23  // IConfigurable
24  virtual void configure(const WireCell::Configuration& cfg);
26  private:
29  };
30  }
31 }
32 
33 
34 #endif
35 
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
std::string string
Definition: nybbler.cc:12
cfg
Definition: dbjson.py:29
WireSchemaFile(const char *frfilename="")
Definition: Main.h:22
virtual void configure(const WireCell::Configuration &cfg)
Accept a configuration.
Json::Value Configuration
Definition: Configuration.h:50
virtual const WireSchema::Store & wire_schema_store() const
Return the field response data.