lemon/lemon_reader.h
changeset 2483 bf6d7b624d5c
parent 2467 2025a571895e
child 2502 9c23c3762bc5
equal deleted inserted replaced
36:fa94397d72b3 37:e6d931a48953
  1126     /// \brief Gives back true when the SectionReader can process 
  1126     /// \brief Gives back true when the SectionReader can process 
  1127     /// the section with the given header line.
  1127     /// the section with the given header line.
  1128     ///
  1128     ///
  1129     /// It gives back true when the header line starts with \c \@edgeset,
  1129     /// It gives back true when the header line starts with \c \@edgeset,
  1130     /// and the header line's name and the edgeset's name are the same.
  1130     /// and the header line's name and the edgeset's name are the same.
  1131     /// The sections with @uedgeset head line could be read with this
  1131     /// The sections with \@uedgeset head line could be read with this
  1132     /// section reader too.
  1132     /// section reader too.
  1133     virtual bool header(const std::string& line) {
  1133     virtual bool header(const std::string& line) {
  1134       std::istringstream ls(line);
  1134       std::istringstream ls(line);
  1135       std::string command;
  1135       std::string command;
  1136       std::string id;
  1136       std::string id;
  1435     /// \brief Gives back true when the SectionReader can process 
  1435     /// \brief Gives back true when the SectionReader can process 
  1436     /// the section with the given header line.
  1436     /// the section with the given header line.
  1437     ///
  1437     ///
  1438     /// It gives back true when the header line starts with \c \@uedgeset,
  1438     /// It gives back true when the header line starts with \c \@uedgeset,
  1439     /// and the header line's name and the edgeset's name are the same.
  1439     /// and the header line's name and the edgeset's name are the same.
  1440     /// The sections with @edgeset head line could be read with this
  1440     /// The sections with \@edgeset head line could be read with this
  1441     /// section reader too.
  1441     /// section reader too.
  1442     virtual bool header(const std::string& line) {
  1442     virtual bool header(const std::string& line) {
  1443       std::istringstream ls(line);
  1443       std::istringstream ls(line);
  1444       std::string command;
  1444       std::string command;
  1445       std::string id;
  1445       std::string id;