| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
MOFCompiler
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
Initialize the compiler.
Keyword arguments:
handle -- A WBEMConnection or similar object. The following
attributes and methods need to be present, corresponding to the
the attributes and methods on pywbem.WBEMConnection having
the same names:
- default_namespace
- EnumerateInstanceNames()
- CreateClass()
- GetClass()
- ModifyClass()
- DeleteInstance()
- CreateInstance()
- ModifyInstance()
- DeleteQualifier()
- EnumerateQualifiers()
- SetQualifier()
search_paths -- A list of file system paths specifying where
missing schema elements should be looked for.
verbose -- True if extra messages should be printed.
log_func -- A callable that takes a single string argument.
The default logger prints to stdout.
|
Compile a string of MOF.
Arguments:
mof -- The string of MOF
ns -- The CIM namespace
Keyword arguments:
filename -- The name of the file that the MOF was read from. This
is used in status and error messages.
|
Compile MOF from a file. Arguments: filename -- The file to read MOF from ns -- The CIM namespace |
Find a MOF file corresponding to a CIM class name. The search_paths provided to __init__() are searched recursively. Arguments: classname -- The name of the class to look for |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Jan 23 01:23:06 2015 | http://epydoc.sourceforge.net |