Package SCons :: Package Node :: Module FS :: Class FileNodeInfo
[hide private]
[frames] | no frames]

Class FileNodeInfo

source code

  object --+    
           |    
NodeInfoBase --+
               |
              FileNodeInfo

The generic base class for signature information for a Node.

Node subclasses should subclass NodeInfoBase to provide their own logic for dealing with their own Node-specific signature information.

Instance Methods [hide private]
 
str_to_node(self, s) source code
 
__getstate__(self)
Return all fields that shall be pickled. Walk the slots in the class hierarchy and add those to the state dictionary. If a '__dict__' slot is available, copy all entries to the dictionary. Also include the version id, which is fixed for all instances of a class.
source code
 
__setstate__(self, state)
Restore the attributes from a pickled state.
source code

Inherited from NodeInfoBase: convert, format, merge, update

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  current_version_id = 2
  field_list = ['csig', 'timestamp', 'size']
  fs = None
hash(x)
Properties [hide private]
  csig
  size
  timestamp

Inherited from object: __class__

Method Details [hide private]

__getstate__(self)

source code 
Return all fields that shall be pickled. Walk the slots in the class hierarchy and add those to the state dictionary. If a '__dict__' slot is available, copy all entries to the dictionary. Also include the version id, which is fixed for all instances of a class.
Overrides: NodeInfoBase.__getstate__

__setstate__(self, state)

source code 
Restore the attributes from a pickled state.
Overrides: NodeInfoBase.__setstate__