Classes | Typedefs | Enumerations | Functions
log_view Namespace Reference

Classes

class  ExcludePanel
 
class  FilterPanel
 
class  HelpPanel
 
struct  HelpText
 
class  LevelPanel
 
struct  LogEntry
 
class  LogFilter
 
struct  LogLine
 
class  LogPanel
 
class  LogStore
 
class  LogView
 
struct  NodeData
 
class  NodePanel
 
class  PanelInterface
 
class  SearchPanel
 
class  StatusPanel
 

Typedefs

typedef std::shared_ptr< ExcludePanelExcludePanelPtr
 
typedef std::shared_ptr< FilterPanelFilterPanelPtr
 
typedef std::shared_ptr< HelpPanelHelpPanelPtr
 
typedef std::shared_ptr< LevelPanelLevelPanelPtr
 
typedef std::shared_ptr< LogFilterLogFilterPtr
 
typedef std::shared_ptr< LogPanelLogPanelPtr
 
typedef std::shared_ptr< LogStoreLogStorePtr
 
typedef std::shared_ptr< NodePanelNodePanelPtr
 
typedef std::shared_ptr< PanelInterfacePanelInterfacePtr
 
typedef std::shared_ptr< SearchPanelSearchPanelPtr
 
typedef std::shared_ptr< StatusPanelStatusPanelPtr
 

Enumerations

enum  Color {
  CP_DEFAULT, CP_RED, CP_YELLOW, CP_GREY,
  CP_DEFAULT_CYAN, CP_DEFAULT_GREY
}
 

Functions

bool contains (const std::string &text, const std::string &substr, bool case_insensitive)
 
int ctrl (char key)
 
std::vector< size_t > find (const std::string &text, const std::string &substr, bool case_insensitive)
 
std::vector< std::string > split (const std::string &text, char sep)
 
void toClipboard (const std::string &text)
 
std::string toString (double val, int precision)
 

Detailed Description

Copyright 2020 Hatchbed L.L.C.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Typedef Documentation

typedef std::shared_ptr<ExcludePanel> log_view::ExcludePanelPtr

Definition at line 50 of file exclude_panel.h.

typedef std::shared_ptr<FilterPanel> log_view::FilterPanelPtr

Definition at line 50 of file filter_panel.h.

typedef std::shared_ptr<HelpPanel> log_view::HelpPanelPtr

Definition at line 62 of file help_panel.h.

typedef std::shared_ptr<LevelPanel> log_view::LevelPanelPtr

Definition at line 53 of file level_panel.h.

typedef std::shared_ptr<LogFilter> log_view::LogFilterPtr

Definition at line 128 of file log_filter.h.

typedef std::shared_ptr<LogPanel> log_view::LogPanelPtr

Definition at line 65 of file log_panel.h.

typedef std::shared_ptr<LogStore> log_view::LogStorePtr

Definition at line 55 of file log_store.h.

typedef std::shared_ptr<NodePanel> log_view::NodePanelPtr

Definition at line 62 of file node_panel.h.

typedef std::shared_ptr<PanelInterface> log_view::PanelInterfacePtr

Definition at line 115 of file panel_interface.h.

typedef std::shared_ptr<SearchPanel> log_view::SearchPanelPtr

Definition at line 55 of file search_panel.h.

typedef std::shared_ptr<StatusPanel> log_view::StatusPanelPtr

Definition at line 52 of file status_panel.h.

Enumeration Type Documentation

Enumerator
CP_DEFAULT 
CP_RED 
CP_YELLOW 
CP_GREY 
CP_DEFAULT_CYAN 
CP_DEFAULT_GREY 

Definition at line 38 of file utils.h.

Function Documentation

bool log_view::contains ( const std::string &  text,
const std::string &  substr,
bool  case_insensitive 
)

Definition at line 67 of file utils.cpp.

int log_view::ctrl ( char  key)

Definition at line 121 of file utils.cpp.

std::vector< size_t > log_view::find ( const std::string &  text,
const std::string &  substr,
bool  case_insensitive 
)

Definition at line 85 of file utils.cpp.

std::vector< std::string > log_view::split ( const std::string &  text,
char  sep 
)

Definition at line 44 of file utils.cpp.

void log_view::toClipboard ( const std::string &  text)

Definition at line 125 of file utils.cpp.

std::string log_view::toString ( double  val,
int  precision 
)

Definition at line 37 of file utils.cpp.



log_view
Author(s): Marc Alban
autogenerated on Thu Mar 4 2021 03:21:52