ARB
|
#include "insdel.h"
#include <RangeList.h>
#include <arbdbt.h>
#include <adGene.h>
#include <arb_progress.h>
#include <arb_defs.h>
#include <arb_diff.h>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | UnitPtr |
struct | UnitPair |
class | AliData |
class | AliDataSlice |
class | FINAL_TYPE< SEQTYPE > |
xml element More... | |
class | Deletable |
class | TypedAliData< T > |
struct | SpecificGap< T > |
class | SizeAwarable |
class | SpecificAliData< T > |
class | SequenceAliData |
class | Alignment |
class | AliApplicable |
class | AliEntryCounter |
struct | AliEditCommand |
class | AliInsertCommand |
class | AliDeleteCommand |
class | FINAL_TYPE< SEQTYPE > |
xml element More... | |
class | AliAutoFormatCommand |
class | AliCompositeCommand |
class | AliEditor |
class | LazyAliData |
class | EditedTerminal |
Macros | |
#define | id_assert(cond) arb_assert(cond) |
Typedefs | |
typedef SmartPtr< AliData > | AliDataPtr |
Enumerations | |
enum | TerminalType { IDT_SPECIES = 0, IDT_SAI, IDT_SECSTRUCT } |
Variables | |
static GB_CSTR | targetTypeName [] |
static char * | insDelBuffer = NULp |
static size_t | insDelBuffer_size |
#define id_assert | ( | cond | ) | arb_assert(cond) |
Definition at line 27 of file insdel.cxx.
Referenced by FINAL_TYPE< SEQTYPE >::apply(), EditedTerminal::apply(), FINAL_TYPE< SEQTYPE >::check_applicable_to(), AliData::check_delete_allowed(), AliDataSlice::cmp_data(), FINAL_TYPE< SEQTYPE >::cmp_data(), SpecificAliData< char >::cmp_data(), AliData::cmpPartWith(), UnitPtr::expect_pointer(), format(), Deletable::get_delete_error(), LazyAliData::has_slice(), insert_gap(), AliDataSlice::operate_on_mem(), FINAL_TYPE< SEQTYPE >::operate_on_mem(), SpecificGap< T >::operate_on_mem(), SpecificAliData< char >::operate_on_mem(), AliData::set_error(), UnitPtr::set_pointer(), AliDataSlice::unit_left_of(), FINAL_TYPE< SEQTYPE >::unit_left_of(), TypedAliData< char >::unit_left_of(), AliDataSlice::unit_right_of(), FINAL_TYPE< SEQTYPE >::unit_right_of(), TypedAliData< char >::unit_right_of(), and UnitPtr::UnitPtr().
typedef SmartPtr<AliData> AliDataPtr |
Definition at line 60 of file insdel.cxx.
enum TerminalType |
Enumerator | |
---|---|
IDT_SPECIES | |
IDT_SAI | |
IDT_SECSTRUCT |
Definition at line 901 of file insdel.cxx.
Definition at line 54 of file insdel.cxx.
Referenced by SpecificGap< T >::cmp_data(), AliData::cmp_whole_data(), SpecificGap< T >::operate_on_mem(), and SpecificAliData< char >::operate_on_mem().
|
inline |
Definition at line 471 of file insdel.cxx.
Referenced by makeAliData(), and makeAliSeqData().
|
inline |
Definition at line 474 of file insdel.cxx.
References NULp.
|
inline |
Definition at line 478 of file insdel.cxx.
References Deletable::get_delete_error().
|
inline |
Definition at line 584 of file insdel.cxx.
Referenced by concat(), concatenate_name_parts(), delete_from(), insert_at(), and FieldTransfer::ReadRule::readFrom().
|
inline |
Definition at line 587 of file insdel.cxx.
References concat().
|
inline |
Definition at line 591 of file insdel.cxx.
References AliDataSlice::make().
|
inline |
Definition at line 592 of file insdel.cxx.
References partof().
Referenced by AlignBuffer::correctUnalignedPositions(), delete_from(), insert_at(), AW_cb::set_AW_cb_guards(), and SEC_root::unsplit_loop().
|
inline |
Definition at line 593 of file insdel.cxx.
References partof().
Referenced by AWT_trigger_remote_action(), AlignBuffer::correctUnalignedPositions(), delete_from(), gb_find_internal(), GB_find_sub_by_quark(), GB_find_subcontent_by_quark(), insert_at(), AW_cb::set_AW_cb_guards(), and SEC_root::unsplit_loop().
|
inline |
Definition at line 595 of file insdel.cxx.
References after(), before(), and concat().
Referenced by AliDeleteCommand::apply(), and format().
|
inline |
Definition at line 599 of file insdel.cxx.
References after(), before(), and concat().
Referenced by insert_gap().
|
inline |
Definition at line 603 of file insdel.cxx.
References id_assert, insert_at(), UnitPair::left, and UnitPair::right.
Referenced by AliInsertCommand::apply(), and format().
|
inline |
Definition at line 615 of file insdel.cxx.
References delete_from(), id_assert, and insert_gap().
Referenced by FINAL_TYPE< SEQTYPE >::apply(), AWT_popup_print_window(), canvas_to_printer(), RegFieldSelection::create_window(), detect_format_props(), main(), match_string(), paper_changed_cb(), seqFileFormat(), seqFileFormatFp(), tree2newick(), ClustersData::update_cluster_selection_list(), and NodeTextBuilder::work().
|
inline |
Definition at line 628 of file insdel.cxx.
References Deletable::ANYTHING, and dontAllowOversize().
|
inline |
Definition at line 631 of file insdel.cxx.
References Deletable::ANYTHING, and dontAllowOversize().
|
inline |
Definition at line 1162 of file insdel.cxx.
Referenced by apply_command_to_alignment(), and provide_insDelBuffer().
Definition at line 1165 of file insdel.cxx.
References free_insDelBuffer(), insDelBuffer, and insDelBuffer_size.
Referenced by alidata2buffer().
Definition at line 1174 of file insdel.cxx.
References buffer, AliData::copyTo(), AliData::memsize(), and provide_insDelBuffer().
Referenced by EditedTerminal::apply().
Definition at line 1384 of file insdel.cxx.
References AliApplicable::apply_to_alignment(), and AliEntryCounter::get_entry_count().
Referenced by apply_command_to_alignment().
|
static |
Definition at line 1390 of file insdel.cxx.
References Deletable::ANYTHING, AliApplicable::apply_to_alignment(), AliEditCommand::check_applicable_to(), countAffectedEntries(), error(), free_insDelBuffer(), GB_disable_quicksave(), GB_entry(), GB_find_string(), GB_IGNORE_CASE, GB_nextEntry(), GB_read_char_pntr(), GB_read_int(), GB_write_int(), GBT_get_presets(), Deletable::NOTHING, NULp, and SEARCH_CHILD.
Referenced by ARB_delete_columns_using_SAI(), ARB_insdel_columns(), ARB_insert_columns_using_SAI(), and format_to_alilen().
Definition at line 1434 of file insdel.cxx.
References apply_command_to_alignment().
Referenced by ARB_format_alignment().
Definition at line 1439 of file insdel.cxx.
References format_to_alilen(), GBT_check_data(), GENOM_ALIGNMENT, and NULp.
Referenced by ali_format_cb(), FINAL_TYPE< SEQTYPE >::finish(), nt_create_all_awars(), and NT_format_all_alignments().
GB_ERROR ARB_insdel_columns | ( | GBDATA * | Main, |
const char * | alignment_name, | ||
long | pos, | ||
long | count, | ||
const char * | deletable_chars | ||
) |
Definition at line 1453 of file insdel.cxx.
References apply_command_to_alignment(), error(), GBS_global_string(), and NULp.
Referenced by insdel_event().
GB_ERROR ARB_delete_columns_using_SAI | ( | GBDATA * | Main, |
const char * | alignment_name, | ||
const RangeList & | ranges, | ||
const char * | deletable_chars | ||
) |
Definition at line 1493 of file insdel.cxx.
References apply_command_to_alignment(), RangeList::empty(), error(), RangeList::rbegin(), and RangeList::rend().
Referenced by insdel_sai_event().
GB_ERROR ARB_insert_columns_using_SAI | ( | GBDATA * | Main, |
const char * | alignment_name, | ||
const RangeList & | ranges, | ||
UseRange | units, | ||
InsertWhere | where, | ||
size_t | amount | ||
) |
Definition at line 1512 of file insdel.cxx.
References apply_command_to_alignment(), BEHIND, RangeList::empty(), error(), INFRONTOF, NULp, RANGES, RangeList::rbegin(), RangeList::rend(), and SINGLE_COLUMNS.
Referenced by insdel_sai_event().
bool ARB_is_alignment_relative_data | ( | GBDATA * | gb_data | ) |
Definition at line 1555 of file insdel.cxx.
References GB_DB, GB_get_father(), GB_read_key_pntr(), GB_read_type(), IDT_SAI, IDT_SPECIES, and AliEditor::shall_edit().
Referenced by split_alignment().
|
static |
Definition at line 907 of file insdel.cxx.
Definition at line 1159 of file insdel.cxx.
Referenced by provide_insDelBuffer().
|
static |
Definition at line 1160 of file insdel.cxx.
Referenced by provide_insDelBuffer().