Package roslib :: Module genpy :: Class Special
[frames] | no frames]

Class Special

source code

Instance Methods
 
__init__(self, constructor, post_deserialize, import_str) source code
str
get_post_deserialize(self, varname)
Returns: Post-deserialization code to executed (unindented) or None if no post-deserialization is required
source code
Method Details

__init__(self, constructor, post_deserialize, import_str)
(Constructor)

source code 
Parameters:
  • constructor (str) - expression to instantiate new type instance for deserialization
  • post_Deserialize (str variable name will be passed in as the single argument to format string.) - format string for expression to evaluate on type instance after deserialization is complete.
  • import_str (str) - import to include if type is present

get_post_deserialize(self, varname)

source code 
Returns: str
Post-deserialization code to executed (unindented) or None if no post-deserialization is required