Home | History | Annotate | Download | only in script

Lines Matching defs:WeightClass

77 class WeightClass {
79 WeightClass() : element_type_(ZERO), impl_(0) { }
82 explicit WeightClass(const W& weight)
85 WeightClass(const string &weight_type, const string &weight_str);
87 WeightClass(const WeightClass &other) :
91 WeightClass &operator = (const WeightClass &other) {
113 bool operator == (const WeightClass &other) const {
119 static const WeightClass &Zero() {
120 static WeightClass w(ZERO);
125 static const WeightClass &One() {
126 static WeightClass w(ONE);
138 ~WeightClass() { if (impl_) delete impl_; }
145 explicit WeightClass(ElementType et) : element_type_(et), impl_(0) { }
147 friend ostream &operator << (ostream &o, const WeightClass &c);
151 const W* WeightClass::GetWeight() const {
189 ostream& operator << (ostream &o, const WeightClass &c);