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

Class Flag

source code

object --+    
         |    
      dict --+
             |
            Flag
Known Subclasses:
CollectionWithFlag, LocalFlag, SubArch, UseFlag

Instance Methods [hide private]
 
__init__(self, name, parent=None, value=False, required=True, track=False, path=None, platform=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self)
repr(x)
source code
 
__str__(self)
str(x)
source code
 
setShortDoc(self, doc) source code
 
setRequired(self, value=True) source code
 
setPlatform(self, value=True) source code
 
isPlatformFlag(self) source code
 
_set(self, value=True) source code
 
_get(self)
Grab value without tracking
source code
 
_fullName(self) source code
 
_reverseParents(self) source code
 
_getDepSense(self) source code
 
_toDependency(self)
Returns an actual Dependency Set consisting of only this flag
source code
 
_resetUsed(self) source code
 
_trackUsed(self, value) source code
 
__nonzero__(self) source code
 
_setUsed(self, used=True) source code
 
__eq__(self, other)
x==y
source code
 
__ne__(self, other)
x!=y
source code
 
__ror__(self, other) source code
 
__or__(self, other) source code
 
__rand__(self, other) source code
 
__and__(self, other) source code

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __getitem__, __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__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, parent=None, value=False, required=True, track=False, path=None, platform=False)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Returns:
new empty dictionary

Overrides: dict.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: dict.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
x==y
Overrides: dict.__eq__
(inherited documentation)

__ne__(self, other)

source code 
x!=y
Overrides: dict.__ne__
(inherited documentation)