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.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_parse_command_line_options.cpp File Reference
#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>
Include dependency graph for irods_parse_command_line_options.cpp:

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 Documentation

◆ path_list_t

typedef std::vector< std::string > path_list_t

Definition at line 13 of file irods_parse_command_line_options.cpp.

Function Documentation

◆ build_irods_path_structure()

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 
)
static

◆ 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.

Here is the call graph for this function:

◆ parse_program_options()

static int parse_program_options ( int  _argc,
char **  _argv,
rodsArguments_t _rods_args,
path_list_t _paths 
)
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().

Here is the call graph for this function:

◆ set_sp_option()

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().

Variable Documentation

◆ global_prog_ops_var_map

boost::program_options::variables_map global_prog_ops_var_map
static

Definition at line 18 of file irods_parse_command_line_options.cpp.

Referenced by parse_program_options().