2 typedef std::set<Arch,CompareByGT<Arch> > CompatSet;
4 %ignore Arch::compare(const Arch &, const Arch &);
6 #if defined(SWIGPYTHON) || defined(SWIGRUBY)
7 %rename Arch::asString "__str__";
14 Arch( const std::string & rhs );
15 const std::string & asString() const;
17 bool compatibleWith( const Arch & targetArch_r ) const;
18 int compare( const Arch & rhs ) const;
19 static int compare( const Arch & lhs, const Arch & rhs );
20 //static std::string asString( const CompatSet & cset );
23 Arch( const CompatEntry & );
24 const CompatEntry * _entry;
27 extern const Arch Arch_noarch;
28 extern const Arch Arch_x86_64;
29 extern const Arch Arch_athlon;
30 extern const Arch Arch_i686;
31 extern const Arch Arch_i586;
32 extern const Arch Arch_i486;
33 extern const Arch Arch_i386;
34 extern const Arch Arch_s390x;
35 extern const Arch Arch_s390;
36 extern const Arch Arch_ppc64;
37 extern const Arch Arch_ppc;
38 extern const Arch Arch_ia64;