File: list.h

package info (click to toggle)
intel2gas 1.3.3-13
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 460 kB
  • ctags: 130
  • sloc: cpp: 1,286; makefile: 83
file content (20 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _LIST_H_
#define _LIST_H_

#include "match.h"
#include "absolute.h"
#include "loadable.h"

class List : public Match, public Loadable {
  public:
    ~List();
    int minSize() const;
    int maxSize() const;
    string Type match(string text, string &result);
  private:
    slist<Absolute> values;
    int min_length;
    int max_length;
};

#endif //!_LIST_H_