ARB
Classes | Macros | Functions | Variables
NT_tree_cmp.cxx File Reference
#include "NT_species_set.h"
#include <aw_msg.hxx>
#include <gb_aci.h>
#include <gb_aci_impl.h>
#include <arb_progress.h>
#include <arb_defs.h>
#include <arb_msg_nospam.h>
#include <string>
#include <climits>
Include dependency graph for NT_tree_cmp.cxx:

Go to the source code of this file.

Classes

class  GroupXfer_callenv
 

Macros

#define IMPL_FORMATVALUE_CMD(args, fmt, value)
 

Functions

const GroupXfer_callenvcustom_env (GBL_command_arguments *args)
 
const GroupPenaltycustom_match (GBL_command_arguments *args)
 
static GB_ERROR gxl_groupname (GBL_command_arguments *args)
 
static GB_ERROR gxl_penalty (GBL_command_arguments *args)
 
static GB_ERROR gxl_ingroup (GBL_command_arguments *args)
 
static GB_ERROR gxl_outgroup (GBL_command_arguments *args)
 
static GB_ERROR gxl_oldsize (GBL_command_arguments *args)
 
static GB_ERROR gxl_newsize (GBL_command_arguments *args)
 
static GB_ERROR gxl_unknown (GBL_command_arguments *args)
 
static GB_ERROR gxl_keeled (GBL_command_arguments *args)
 
static const
GBL_command_lookup_table
get_GroupXfer_customized_ACI_commands ()
 
GB_ERROR NTREE_move_tree_info (GBDATA *gb_main, const char *tree_source, const char *tree_dest, const char *log_file, GroupTransferMode mode, GroupsToTransfer what, const GroupMatchScorer &scorer, const char *aci)
 

Variables

static GBL_command_definition groupXfer_command_table []
 

Macro Definition Documentation

#define IMPL_FORMATVALUE_CMD (   args,
  fmt,
  value 
)
Value:
if (!error) FORMAT_2_OUT(args, fmt, value); \
return error
const char * GB_ERROR
Definition: arb_core.h:25
#define COMMAND_DROPS_INPUT_STREAMS(args)
Definition: gb_aci_impl.h:218
static void error(const char *msg)
Definition: mkptypes.cxx:96
GB_write_int const char GB_write_autoconv_string WRITE_SKELETON(write_pointer, GBDATA *,"%p", GB_write_pointer) char *AW_awa if)(!gb_var) return strdup("")
Definition: AW_awar.cxx:163
#define FORMAT_2_OUT(args, fmt, value)
Definition: gb_aci_impl.h:24
static void check_no_parameter(const string &line, size_t &scan_pos, GB_ERROR &error, const string &command)

Definition at line 428 of file NT_tree_cmp.cxx.

Referenced by gxl_groupname(), gxl_ingroup(), gxl_keeled(), gxl_newsize(), gxl_oldsize(), gxl_outgroup(), gxl_penalty(), and gxl_unknown().

Function Documentation

const GroupXfer_callenv& custom_env ( GBL_command_arguments args)
inline
const GroupPenalty& custom_match ( GBL_command_arguments args)
inline
static GB_ERROR gxl_groupname ( GBL_command_arguments args)
static

Definition at line 434 of file NT_tree_cmp.cxx.

References custom_env(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_penalty ( GBL_command_arguments args)
static

Definition at line 435 of file NT_tree_cmp.cxx.

References custom_match(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_ingroup ( GBL_command_arguments args)
static

Definition at line 436 of file NT_tree_cmp.cxx.

References custom_match(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_outgroup ( GBL_command_arguments args)
static

Definition at line 437 of file NT_tree_cmp.cxx.

References custom_match(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_oldsize ( GBL_command_arguments args)
static

Definition at line 438 of file NT_tree_cmp.cxx.

References custom_env(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_newsize ( GBL_command_arguments args)
static

Definition at line 439 of file NT_tree_cmp.cxx.

References custom_env(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_unknown ( GBL_command_arguments args)
static

Definition at line 440 of file NT_tree_cmp.cxx.

References custom_match(), and IMPL_FORMATVALUE_CMD.

static GB_ERROR gxl_keeled ( GBL_command_arguments args)
static

Definition at line 441 of file NT_tree_cmp.cxx.

References custom_match(), and IMPL_FORMATVALUE_CMD.

static const GBL_command_lookup_table& get_GroupXfer_customized_ACI_commands ( )
static

Definition at line 455 of file NT_tree_cmp.cxx.

References ACI_get_standard_commands(), and ARRAY_ELEMS.

Referenced by SpecSetRegistry::write_node_information().

GB_ERROR NTREE_move_tree_info ( GBDATA gb_main,
const char tree_source,
const char tree_dest,
const char log_file,
GroupTransferMode  mode,
GroupsToTransfer  what,
const GroupMatchScorer scorer,
const char aci 
)

Variable Documentation

GBL_command_definition groupXfer_command_table[]
static
Initial value:
= {
{ "groupname", gxl_groupname },
{ "penalty", gxl_penalty },
{ "ingroup", gxl_ingroup },
{ "outgroup", gxl_outgroup },
{ "oldsize", gxl_oldsize },
{ "newsize", gxl_newsize },
{ "unknown", gxl_unknown },
{ "keeled", gxl_keeled },
{ NULp, NULp }
}
static GB_ERROR gxl_outgroup(GBL_command_arguments *args)
static GB_ERROR gxl_keeled(GBL_command_arguments *args)
static GB_ERROR gxl_newsize(GBL_command_arguments *args)
static GB_ERROR gxl_ingroup(GBL_command_arguments *args)
#define NULp
Definition: cxxforward.h:116
static GB_ERROR gxl_groupname(GBL_command_arguments *args)
static GB_ERROR gxl_unknown(GBL_command_arguments *args)
static GB_ERROR gxl_penalty(GBL_command_arguments *args)
static GB_ERROR gxl_oldsize(GBL_command_arguments *args)

Definition at line 443 of file NT_tree_cmp.cxx.