18 lines
415 B
C++
18 lines
415 B
C++
#include "__read.h"
|
|
#include "Exception.h"
|
|
|
|
namespace jet {
|
|
|
|
__read::__read(coreutils::ZString &in, coreutils::MString &out) : Tag(in, out) {
|
|
if(!keywordExists(coreutils::ZString("file")))
|
|
throw coreutils::Exception("file keyword must be specified.");
|
|
|
|
if(hasContainer)
|
|
throw coreutils::Exception("missing / at end of tag definition.");
|
|
|
|
// process file request here.
|
|
|
|
}
|
|
|
|
}
|