ARB
Classes | Macros | Functions | Variables
ED4_block.cxx File Reference
#include "ed4_awars.hxx"
#include "ed4_class.hxx"
#include "ed4_tools.hxx"
#include "ed4_block.hxx"
#include "ed4_edit_string.hxx"
#include "ed4_list.hxx"
#include <awt_sel_boxes.hxx>
#include <fast_aligner.hxx>
#include <aw_awars.hxx>
#include <aw_msg.hxx>
#include <aw_root.hxx>
#include <aw_select.hxx>
#include <arbdbt.h>
#include <gb_aci.h>
#include <climits>
#include <cctype>
#include <map>
Include dependency graph for ED4_block.cxx:

Go to the source code of this file.

Classes

class  ED4_block
 
class  SeqPart
 
class  replace_op
 
class  case_op
 
class  revcomp_op
 
class  unalign_op
 
class  shift_op
 

Macros

#define AWAR_MOD_SAI_SCRIPT   "modsai/script"
 

Functions

static void col_block_refresh_on_seq_term (ED4_sequence_terminal *seq_term)
 
static void refresh_selected (bool refresh_name_terminals)
 
static GB_ERROR perform_block_operation_on_whole_sequence (const ED4_block_operator&block_operator, ED4_sequence_terminal *term)
 
static GB_ERROR perform_block_operation_on_part_of_sequence (const ED4_block_operator&block_operator, ED4_sequence_terminal *term)
 
static void ED4_with_whole_block (const ED4_block_operator&block_operator)
 
bool ED4_get_selected_range (ED4_terminal *term, PosRange &range)
 
ED4_blocktype ED4_getBlocktype ()
 
void ED4_setBlocktype (ED4_blocktype bt)
 
void ED4_toggle_block_type ()
 
void ED4_correctBlocktypeAfterSelection ()
 
static void select_and_update (ED4_sequence_terminal *term1, ED4_sequence_terminal *term2, ED4_index pos1, ED4_index pos2, int initial_call)
 
void ED4_setColumnblockCorner (AW_event *event, ED4_sequence_terminal *seq_term)
 
bool matchesUsingWildcard (GB_CSTR s1, GB_CSTR s2, int len)
 
static void replace_in_block (AW_window *)
 
AW_windowED4_create_replace_window (AW_root *root)
 
chardont_return_unchanged (char *result, int &new_len, const SeqPart &part)
 
void ED4_perform_block_operation (ED4_blockoperation_type operationType)
 
static void modsai_cb (AW_window *aww)
 
AW_windowED4_create_modsai_window (AW_root *root)
 

Variables

static ED4_block block
 

Macro Definition Documentation

#define AWAR_MOD_SAI_SCRIPT   "modsai/script"

Definition at line 909 of file ED4_block.cxx.

Referenced by ED4_create_modsai_window(), and modsai_cb().

Function Documentation

static void col_block_refresh_on_seq_term ( ED4_sequence_terminal seq_term)
static
static void refresh_selected ( bool  refresh_name_terminals)
static
static GB_ERROR perform_block_operation_on_whole_sequence ( const ED4_block_operator block_operator,
ED4_sequence_terminal term 
)
static
static GB_ERROR perform_block_operation_on_part_of_sequence ( const ED4_block_operator block_operator,
ED4_sequence_terminal term 
)
static
static void ED4_with_whole_block ( const ED4_block_operator block_operator)
static
bool ED4_get_selected_range ( ED4_terminal term,
PosRange range 
)
ED4_blocktype ED4_getBlocktype ( )

Definition at line 360 of file ED4_block.cxx.

References ED4_block::get_type().

Referenced by ED4_menu_highlight().

void ED4_setBlocktype ( ED4_blocktype  bt)

Definition at line 361 of file ED4_block.cxx.

References ED4_block::set_type().

Referenced by ED4_root::deselect_all().

void ED4_toggle_block_type ( )

Definition at line 362 of file ED4_block.cxx.

References ED4_block::toggle_type().

Referenced by ED4_menu_highlight().

void ED4_correctBlocktypeAfterSelection ( )
static void select_and_update ( ED4_sequence_terminal term1,
ED4_sequence_terminal term2,
ED4_index  pos1,
ED4_index  pos2,
int  initial_call 
)
static
void ED4_setColumnblockCorner ( AW_event event,
ED4_sequence_terminal seq_term 
)
bool matchesUsingWildcard ( GB_CSTR  s1,
GB_CSTR  s2,
int  len 
)
inline

Definition at line 609 of file ED4_block.cxx.

References cmp.

Referenced by replace_op::operate().

static void replace_in_block ( AW_window )
static
AW_window* ED4_create_replace_window ( AW_root root)
char* dont_return_unchanged ( char result,
int new_len,
const SeqPart part 
)
inline
void ED4_perform_block_operation ( ED4_blockoperation_type  operationType)
static void modsai_cb ( AW_window aww)
static
AW_window* ED4_create_modsai_window ( AW_root root)

Variable Documentation

ED4_block block
static