Public Member Functions | Public Attributes | List of all members
ros_introspection.cmake.CMake Class Reference

Public Member Functions

def __init__ (self, file_path=None, initial_contents=None, depth=0)
def __repr__ (self)
def add_command (self, cmd)
def get_command_section (self, command_name, section_name)
def get_executable_source (self)
def get_executables (self)
def get_insertion_index (self, cmd)
def get_libraries (self)
def get_library_source (self)
def get_ordered_build_targets (self)
def get_project_name (self)
def get_resolved_tokens (self, cmd, include_name=False)
def get_source_build_rules (self, tag, resolve_target_name=False)
def get_source_helper (self, tag)
def get_target_build_rules (self)
def get_test_section (self, create_if_needed=False)
def get_test_sections (self)
def get_test_source (self)
def remove_all_commands (self, cmd_name)
def remove_command (self, cmd)
def resolve_variables (self, var)
def section_check (self, items, cmd_name, section_name='', zero_okay=False)
def write (self, fn=None)

Public Attributes


Detailed Description

Definition at line 174 of file

Constructor & Destructor Documentation

def ros_introspection.cmake.CMake.__init__ (   self,
  file_path = None,
  initial_contents = None,
  depth = 0 

Definition at line 175 of file

Member Function Documentation

def ros_introspection.cmake.CMake.__repr__ (   self)

Definition at line 395 of file

def ros_introspection.cmake.CMake.add_command (   self,

Definition at line 243 of file

def ros_introspection.cmake.CMake.get_command_section (   self,
Return the first command that matches the command name and
    has a matching section name. If the section name is not found,
    return a command with the matching command name

Definition at line 363 of file

def ros_introspection.cmake.CMake.get_executable_source (   self)

Definition at line 298 of file

def ros_introspection.cmake.CMake.get_executables (   self)

Definition at line 304 of file

def ros_introspection.cmake.CMake.get_insertion_index (   self,

Definition at line 227 of file

def ros_introspection.cmake.CMake.get_libraries (   self)

Definition at line 301 of file

def ros_introspection.cmake.CMake.get_library_source (   self)

Definition at line 295 of file

def ros_introspection.cmake.CMake.get_ordered_build_targets (   self)

Definition at line 313 of file

def ros_introspection.cmake.CMake.get_project_name (   self)

Definition at line 195 of file

def ros_introspection.cmake.CMake.get_resolved_tokens (   self,
  include_name = False 

Definition at line 224 of file

def ros_introspection.cmake.CMake.get_source_build_rules (   self,
  resolve_target_name = False 

Definition at line 274 of file

def ros_introspection.cmake.CMake.get_source_helper (   self,

Definition at line 289 of file

def ros_introspection.cmake.CMake.get_target_build_rules (   self)

Definition at line 307 of file

def ros_introspection.cmake.CMake.get_test_section (   self,
  create_if_needed = False 

Definition at line 344 of file

def ros_introspection.cmake.CMake.get_test_sections (   self)

Definition at line 328 of file

def ros_introspection.cmake.CMake.get_test_source (   self)

Definition at line 337 of file

def ros_introspection.cmake.CMake.remove_all_commands (   self,

Definition at line 269 of file

def ros_introspection.cmake.CMake.remove_command (   self,

Definition at line 264 of file

def ros_introspection.cmake.CMake.resolve_variables (   self,

Definition at line 202 of file

def ros_introspection.cmake.CMake.section_check (   self,
  section_name = '',
  zero_okay = False 
This function ensures that there's a CMake command of the given type
    with the given section name and items somewhere in the file. 

Definition at line 375 of file

def ros_introspection.cmake.CMake.write (   self,
  fn = None 

Definition at line 398 of file

Member Data Documentation


Definition at line 181 of file


Definition at line 178 of file


Definition at line 187 of file


Definition at line 176 of file


Definition at line 189 of file

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

autogenerated on Wed Jun 19 2019 19:56:52