Package conary :: Package build :: Module use :: Class MajorArch
[hide private]
[frames] | no frames]

Class MajorArch

source code

object --+            
         |            
      dict --+        
             |        
          Flag --+    
                 |    
object --+       |    
         |       |    
      dict --+   |    
             |   |    
    Collection --+    
                 |    
CollectionWithFlag --+
                     |
                    MajorArch

Instance Methods [hide private]
 
__init__(self, name, parent, track=False, archProps=None, macros=None, platform=False) source code
 
_setUsed(self, used=True) source code
 
_getMacro(self, key) source code
 
_getMacros(self) source code
 
_getNonExistantKey(self, key)
Method that is called when a nonexistant key is accessed.
source code
 
_set(self, value=True, subArches=None)
Allows you to set the value of this arch, and also set the values of the subArches.
source code
 
_toDependency(self, depType=<class 'conary.deps.deps.InstructionSetDependency'>)
Returns an actual Dependency Set consisting of only this flag
source code
 
_trackUsed(self, value=True) source code
 
_iterUsed(self) source code

Inherited from CollectionWithFlag: __repr__

Inherited from CollectionWithFlag (private): _iterAll, _resetUsed

Inherited from Flag: __and__, __eq__, __ne__, __nonzero__, __or__, __rand__, __ror__, __str__, isPlatformFlag, setPlatform, setRequired, setShortDoc

Inherited from Flag (private): _fullName, _get, _getDepSense, _reverseParents

Inherited from Collection: __getattr__, __getitem__, __setattr__

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __new__, __setitem__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __reduce__, __reduce_ex__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, parent, track=False, archProps=None, macros=None, platform=False)
(Constructor)

source code 
Overrides: CollectionWithFlag.__init__

_setUsed(self, used=True)

source code 
Overrides: Flag._setUsed

_getNonExistantKey(self, key)

source code 
Method that is called when a nonexistant key is accessed. Overridden by subclasses to allow for useful error messages or default key values to be supplied
Overrides: Collection._getNonExistantKey
(inherited documentation)

_set(self, value=True, subArches=None)

source code 
Allows you to set the value of this arch, and also set the values of the subArches. XXX hmmm...should there be a difference between subArches=None, and subArches=[]? Maybe this is too complicated, and you should just have to set the subarches yourself.
Overrides: Flag._set

_toDependency(self, depType=<class 'conary.deps.deps.InstructionSetDependency'>)

source code 
Returns an actual Dependency Set consisting of only this flag
Overrides: Flag._toDependency
(inherited documentation)

_trackUsed(self, value=True)

source code 
Overrides: CollectionWithFlag._trackUsed

_iterUsed(self)

source code 
Overrides: CollectionWithFlag._iterUsed