Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
eve_callback_suite_t Struct Reference

#include <adobe/eve_parser.hpp>

Classes

struct  relation_t

Public Types

enum  cell_type_t { constant_k , logic_k , interface_k }
using position_t
using add_view_proc_t
using add_cell_proc_t
using add_relation_proc_t
using add_interface_proc_t
using finalize_sheet_proc_t

Public Attributes

add_view_proc_t add_view_proc_m
add_cell_proc_t add_cell_proc_m
finalize_sheet_proc_t finalize_sheet_proc_m
add_relation_proc_t add_relation_proc_m
add_interface_proc_t add_interface_proc_m

Detailed Description

The eve_callback_suit_t specifies the client interface to the layout parser. Two callbacks are provided, one cells (typically added to an adobe::basic_sheet_t) and one for view elements.

Definition at line 155 of file eve_parser.hpp.

Member Typedef Documentation

◆ position_t

using position_t

The position_t can hold only copyable type. It is passed as a parameter and returned from the add_view_proc_t to allow the client access to the parent of the node being created.

Definition at line 166 of file eve_parser.hpp.

◆ add_view_proc_t

Client-defined callback function used by the layout library parser to communicate with the client code. The layout library parser will discover view class declarations and will notify this callback of those declarations.

Parameters
parentThe parent view's position_t of the view currently being created.
parse_locationThe line position of the view currently being created.
nameThe name of the view currently being created.
parametersAn expression which will evaluate to a dictionary_t containing the view attributes.
briefThe contents of the trailing comment (if any) after this view class declaration
detailedThe contents of the lead comment (if any) before this view class declaration
Returns
The client callback should return an adobe::eve::position_t, which is a user-defined type that will be propagated to any immediate children of this view class declaration (if any).

Definition at line 168 of file eve_parser.hpp.

◆ add_cell_proc_t

Definition at line 172 of file eve_parser.hpp.

◆ add_relation_proc_t

Definition at line 176 of file eve_parser.hpp.

◆ add_interface_proc_t

Definition at line 180 of file eve_parser.hpp.

◆ finalize_sheet_proc_t

Definition at line 185 of file eve_parser.hpp.

Member Enumeration Documentation

◆ cell_type_t

Enumerator
constant_k 
logic_k 
interface_k 

Definition at line 156 of file eve_parser.hpp.

Member Data Documentation

◆ add_view_proc_m

add_view_proc_t add_view_proc_m

Definition at line 187 of file eve_parser.hpp.

◆ add_cell_proc_m

add_cell_proc_t add_cell_proc_m

Definition at line 188 of file eve_parser.hpp.

◆ finalize_sheet_proc_m

finalize_sheet_proc_t finalize_sheet_proc_m

Definition at line 189 of file eve_parser.hpp.

◆ add_relation_proc_m

add_relation_proc_t add_relation_proc_m

Definition at line 190 of file eve_parser.hpp.

◆ add_interface_proc_m

add_interface_proc_t add_interface_proc_m

Definition at line 191 of file eve_parser.hpp.