#include <OP_OTLDefinition.h>
Definition at line 159 of file OP_OTLDefinition.h.
 
      
        
          | OP_OTLDefinition::OP_OTLDefinition  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void OP_OTLDefinition::constructDefinitionPath  | 
          ( | 
          UT_String &  | 
          path | ) | 
           const | 
        
      
 
Returns an official file path that should be used for a given definition, eg "oplib:/Object/hda?Object/hda". 
 
 
      
        
          | void OP_OTLDefinition::getDefinitionSectionName  | 
          ( | 
          UT_String &  | 
          sectname | ) | 
           const | 
        
      
 
Returns an official name of the library section that contains the HDA definition eg "Object/hda", or "artistA::Object/hda::2.0". See UT_OpUtils::getOpTypeDefSectionName() for more details. 
 
 
Returns an official name of the library section that contains the HDA definition eg "Object/hda", or "artistA::Object/hda::2.0". See UT_OpUtils::getOpTypeDefSectionName() for more details. 
 
 
Extra operator info. This is stored as a raw string in the OTL as the myExtraInfo. The parsed version of the string is kept in sync as myExtraInfoBuffer. 
Definition at line 212 of file OP_OTLDefinition.h.
 
 
  
  
      
        
          | bool OP_OTLDefinition::getIsDummyDefinition  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | bool OP_OTLDefinition::getIsPython  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | bool OP_OTLDefinition::getIsSubnet  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int OP_OTLDefinition::getMaxInputs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int OP_OTLDefinition::getMaxOutputs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | int OP_OTLDefinition::getMinInputs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | time_t OP_OTLDefinition::getModTime  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | static time_t OP_OTLDefinition::getModTimeFromString  | 
          ( | 
          const char *  | 
          str | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Utility function for converting a string to a modification time. 
 
 
  
  
      
        
          | int OP_OTLDefinition::getNumOrderedInputs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | int OP_OTLDefinition::handleOption  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | bool OP_OTLDefinition::isInternal  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | static bool OP_OTLDefinition::isMatchingNamespaceScope  | 
          ( | 
          const char *  | 
          op_name,  | 
         
        
           | 
           | 
          const char *  | 
          scope_opname  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Returns true if op_name includes a namespace and that namesapce matches the given scope_opname, e.g., op_name of "Object/geo::op" matches scope_name of "Object/geo". If op_name does not include a namespace, it is allowed everywhere, so it will match any scope, thus this function will return true. Returns false otherwise. 
 
 
  
  
      
        
          | static bool OP_OTLDefinition::isValidOperatorName  | 
          ( | 
          const char *  | 
          name | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Returns true if the name is a valid operator name that can be used for an OP_Operator instance. 
 
 
      
        
          | bool OP_OTLDefinition::readTextDescription  | 
          ( | 
          UT_IStream &  | 
          is | ) | 
           | 
        
      
 
 
      
        
          | bool OP_OTLDefinition::resolveRelativeOpDefPath  | 
          ( | 
          UT_WorkBuffer &  | 
          result,  | 
        
        
           | 
           | 
          const char *  | 
          path  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
      
        
          | bool OP_OTLDefinition::save  | 
          ( | 
          std::ostream &  | 
          os | ) | 
           | 
        
      
 
 
  
  
      
        
          | void OP_OTLDefinition::setIsDummyDefinition  | 
          ( | 
          bool  | 
          isdummy | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setIsPython  | 
          ( | 
          bool  | 
          ispython | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setIsSubnet  | 
          ( | 
          bool  | 
          issubnet | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setMaxInputs  | 
          ( | 
          int  | 
          inputs | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setMaxOutputs  | 
          ( | 
          int  | 
          outputs | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setMinInputs  | 
          ( | 
          int  | 
          inputs | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setModTime  | 
          ( | 
          time_t  | 
          modtime | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setNumOrderedInputs  | 
          ( | 
          int  | 
          inputs | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | void OP_OTLDefinition::setPathToInternal  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void OP_OTLDefinition::writeFormattedText  | 
          ( | 
          UT_WorkBuffer &  | 
          buffer,  | 
        
        
           | 
           | 
          const char *  | 
          format  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
      
        
          | void OP_OTLDefinition::writeTextDescription  | 
          ( | 
          UT_WorkBuffer &  | 
          buffer,  | 
        
        
           | 
           | 
          const char *  | 
          indent = 0  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
The documentation for this class was generated from the following file: