rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.utils.chatserver.CmdString Class Reference
+ Inheritance diagram for rfm2.utils.chatserver.CmdString:
+ Collaboration diagram for rfm2.utils.chatserver.CmdString:

Public Member Functions

def __init__ (self, s)
 
def addValue (self, flag, value)
 
def getCommand (self)
 
def getOpt (self, flag, defaultValue=None)
 

Public Attributes

 cmd
 
 args
 
 dargs
 

Detailed Description

Class for holding "well ordered" commands of the form:
    cmd -opt1 <value> -opt2 <value2> [;]

    where there opt and values are always in pairs and value
    can be quoted with either {}'s or ""'s in which case the
    value can contain spaces, newlines. " and } can appear in
    value if preceded by \

Constructor & Destructor Documentation

◆ __init__()

def rfm2.utils.chatserver.CmdString.__init__ (   self,
  s 
)

Member Function Documentation

◆ addValue()

def rfm2.utils.chatserver.CmdString.addValue (   self,
  flag,
  value 
)

◆ getCommand()

def rfm2.utils.chatserver.CmdString.getCommand (   self)

◆ getOpt()

def rfm2.utils.chatserver.CmdString.getOpt (   self,
  flag,
  defaultValue = None 
)

Member Data Documentation

◆ args

rfm2.utils.chatserver.CmdString.args

◆ cmd

rfm2.utils.chatserver.CmdString.cmd

◆ dargs

rfm2.utils.chatserver.CmdString.dargs

The documentation for this class was generated from the following file: