irods
4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
![]() ![]() |
#include "getRodsEnv.h"
#include "irods_parse_command_line_options.hpp"
#include "boost/program_options.hpp"
#include "boost/filesystem.hpp"
#include "rodsErrorTable.h"
#include "rcMisc.h"
#include <vector>
#include <string>
#include <iostream>
Go to the source code of this file.
Typedefs | |
typedef std::vector< std::string > | path_list_t |
Functions | |
static int | parse_program_options (int _argc, char **_argv, rodsArguments_t &_rods_args, path_list_t &_paths) |
static int | build_irods_path_structure (const path_list_t &_path_list, rodsEnv *_rods_env, int _src_type, int _dst_type, int _flag, rodsPathInp_t *_rods_paths) |
void | set_sp_option (const char *_exec) |
int | parse_opts_and_paths (int _argc, char **_argv, rodsArguments_t &_rods_args, rodsEnv *_rods_env, int _src_type, int _dst_type, int _flag, rodsPathInp_t *_rods_paths) |
Variables | |
static boost::program_options::variables_map | global_prog_ops_var_map |
typedef std::vector< std::string > path_list_t |
Definition at line 13 of file irods_parse_command_line_options.cpp.
|
static |
Definition at line 263 of file irods_parse_command_line_options.cpp.
References addSrcInPath(), ALLOW_NO_SRC_FLAG, COLL_OBJ_T, RodsPathInp::destPath, escape_path(), RodsPath::inPath, MAX_NAME_LEN, NO_INPUT_T, NOT_EXIST_ST, NULL, RodsPath::objState, RodsPath::objType, RodsPath::outPath, parseLocalPath(), parseRodsPath(), rstrcpy(), RodsPathInp::srcPath, irods.pypyodbc::status, STDOUT_FILE_NAME, UNKNOWN_FILE_T, and USER__NULL_INPUT_ERR.
Referenced by parse_opts_and_paths().
int parse_opts_and_paths | ( | int | _argc, |
char ** | _argv, | ||
rodsArguments_t & | _rods_args, | ||
rodsEnv * | _rods_env, | ||
int | _src_type, | ||
int | _dst_type, | ||
int | _flag, | ||
rodsPathInp_t * | _rods_paths | ||
) |
Definition at line 371 of file irods_parse_command_line_options.cpp.
References build_irods_path_structure(), rodsArguments_t::help, parse_program_options(), set_sp_option(), and SYS_INVALID_INPUT_PARAM.
|
static |
Definition at line 22 of file irods_parse_command_line_options.cpp.
References rodsArguments_t::acl_string, rodsArguments_t::all, rodsArguments_t::bulk, rodsArguments_t::checksum, rodsArguments_t::dataType, rodsArguments_t::dataTypeString, error, rodsArguments_t::force, global_prog_ops_var_map, rodsArguments_t::help, INVALID_ANY_CAST, rodsArguments_t::kv_pass, rodsArguments_t::kv_pass_string, rodsArguments_t::lfrestart, rodsArguments_t::lfrestartFileString, rodsArguments_t::link, LOG_NOTICE, rodsArguments_t::metadata_string, rodsArguments_t::number, rodsArguments_t::numberValue, deploy_schemas_locally::options, rodsArguments_t::physicalPath, rodsArguments_t::physicalPathString, rodsArguments_t::progressFlag, rodsArguments_t::purgeCache, rodsArguments_t::rbudp, rodsArguments_t::reconnect, rodsArguments_t::recursive, rodsArguments_t::redirectConn, rodsArguments_t::replNum, rodsArguments_t::replNumValue, rodsArguments_t::resource, rodsArguments_t::resourceString, rodsArguments_t::restart, rodsArguments_t::restartFileString, rodsArguments_t::retries, rodsArguments_t::retriesValue, rodsArguments_t::rlock, rodsLogLevel(), STDOUT_FILE_NAME, SYS_INVALID_INPUT_PARAM, rodsArguments_t::ticket, rodsArguments_t::ticketString, rodsArguments_t::verbose, rodsArguments_t::verifyChecksum, rodsArguments_t::veryVerbose, and rodsArguments_t::wlock.
Referenced by parse_opts_and_paths().
void set_sp_option | ( | const char * | _exec | ) |
Definition at line 360 of file irods_parse_command_line_options.cpp.
References pid_age::p, and SP_OPTION.
Referenced by parse_opts_and_paths().
|
static |
Definition at line 18 of file irods_parse_command_line_options.cpp.
Referenced by parse_program_options().