05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package prlsdkapi Class PrlConstsProvider<br />

class<br />

Name Description<br />

1.9 Class PrlConstsProvider<br />

object<br />

prlsdkapi.PrlConstsProvider<br />

Provide acces to constants group<br />

1.9.1 Methods<br />

init (self, source, consts prefix=’’, cmp func=None, doc=None)<br />

x. init (...) initializes x; see x. class . doc for signature<br />

Overrides: object. init extit(inherited documentation)<br />

getattr (self, name)<br />

getitem (self, name)<br />

get(self, name)<br />

Returns constant value by name<br />

Parameters<br />

name: Constant name, it could be without prexif<br />

Return Value<br />

Constant value, depends on constant type.<br />

get name(self, value, no err if notexists=True)<br />

Returns constant name by value<br />

Parameters<br />

value: Constant value<br />

no err if notexists: Shows if error should be raise for non<br />

exixting value<br />

Return Value<br />

string<br />

13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!