grepros 1.3.0
grep for ROS bag files and live topics
Loading...
Searching...
No Matches
MatchMarkers Class Reference
Inheritance diagram for MatchMarkers:
Inheritance graph

Public Member Functions

 populate (cls, value)
 

Public Attributes

 EMPTY
 
 EMPTY_REPL
 
 END
 
 ID
 
 START
 

Static Public Attributes

str EMPTY = START + END
 Placeholder for empty string match.
 
str EMPTY_REPL = "%s''%s" % (START, END)
 Replacement for empty string match.
 
str END = "</%s>" % ID
 Placeholder at end of match.
 
str ID = "matching"
 Unique marker for match highlight replacements.
 
str START = "<%s>" % ID
 Placeholder in front of match.
 

Detailed Description

Highlight markers for matches in message values.

Definition at line 50 of file common.py.

Member Function Documentation

◆ populate()

populate (   cls,
  value 
)
Populates highlight markers with specified value.

Definition at line 65 of file common.py.

Member Data Documentation

◆ EMPTY [1/2]

str EMPTY = START + END
static

Placeholder for empty string match.

Definition at line 60 of file common.py.

◆ EMPTY [2/2]

EMPTY

Definition at line 70 of file common.py.

◆ EMPTY_REPL [1/2]

str EMPTY_REPL = "%s''%s" % (START, END)
static

Replacement for empty string match.

Definition at line 62 of file common.py.

◆ EMPTY_REPL [2/2]

EMPTY_REPL

Definition at line 71 of file common.py.

◆ END [1/2]

str END = "</%s>" % ID
static

Placeholder at end of match.

Definition at line 58 of file common.py.

◆ END [2/2]

END

Definition at line 69 of file common.py.

◆ ID [1/2]

str ID = "matching"
static

Unique marker for match highlight replacements.

Definition at line 54 of file common.py.

◆ ID [2/2]

ID

Definition at line 67 of file common.py.

◆ START [1/2]

str START = "<%s>" % ID
static

Placeholder in front of match.

Definition at line 56 of file common.py.

◆ START [2/2]

START

Definition at line 68 of file common.py.


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