Loading [MathJax]/jax/output/HTML-CSS/config.js
AddInfoLayout Class Reference

AddInfo layouts describe a set of attributes that can be attached to geometry objects. More...

+ Inheritance diagram for AddInfoLayout:

Public Member Functions

def columns (self)
 
def index (self, arg1)
 possible calls: More...
 
def name (self, arg1)
 
def semantic (self, arg1)
 
def size (self, arg1)
 
def type (self, arg1)
 

Static Public Member Functions

def getColumnName (arg1)
 
def getColumnSemantic (name, caseSensitive=True)
 
def getColumnType (self, *args, **kwargs)
 possible calls: More...
 

Detailed Description

AddInfo layouts describe a set of attributes that can be attached to geometry objects.

Managing attributes, layout and views is a core feature of the DM library. Please refer to the Managing Attributes section for implementation concepts and to the examples section (attribute handling) for further details.

Member Function Documentation

◆ columns()

def columns (   self)
Parameters
self(type: AddInfoLayout) self pointer
Returns
(type: int)

◆ getColumnName()

def getColumnName (   arg1)
static
Parameters
arg1(type: ColumnSemantic) mandatory parameter
Returns
(type: str)

◆ getColumnSemantic()

def getColumnSemantic (   name,
  caseSensitive = True 
)
static

find the semantic enumerator based on a given column name

Returns
corresponding enumerator of ColumnSemantic::null if the given name isn't a predefined colum name

◆ getColumnType()

def getColumnType (   self,
args,
**  kwargs 
)
static

possible calls:

  • getColumnType(arg1: str)
  • getColumnType(arg1: str, arg2: object)
Parameters
self(type: object) self pointer
*args(type: list) mandatory parameter
**kwargs(type: dict) mandatory parameter
Returns
(type: ColumnType)

◆ index()

def index (   self,
  arg1 
)

possible calls:

  • index(self, arg1: str)
  • index(self, arg1: ColumnSemantic)
Parameters
self(type: AddInfoLayout) self pointer
arg1(type: ColumnSemantic | str) mandatory parameter
Returns
(type: int)

◆ name()

def name (   self,
  arg1 
)
Parameters
self(type: AddInfoLayout) self pointer
arg1(type: object) mandatory parameter
Returns
(type: str)

◆ semantic()

def semantic (   self,
  arg1 
)
Parameters
self(type: AddInfoLayout) self pointer
arg1(type: object) mandatory parameter
Returns
(type: ColumnSemantic)

◆ size()

def size (   self,
  arg1 
)
Parameters
self(type: AddInfoLayout) self pointer
arg1(type: object) mandatory parameter
Returns
(type: int)

◆ type()

def type (   self,
  arg1 
)
Parameters
self(type: AddInfoLayout) self pointer
arg1(type: object) mandatory parameter
Returns
(type: ColumnType)