I do need some way for the library to relate these fields to particular command line arguments, though.
但是我的确需要某种方法能让这个库将这些字段与特定的命令行参数相关起来。
In this article, I've run through the design of a library for processing command line arguments as an example of reflection in action.
在本文中,我讲述了一个用于处理命令行参数的库的设计过程,作为反射的一个实际的例子。
The MIT group of researchers are now working on improvements to the recognition and tracking algorithms with the aim of building up an expanded command library.
这个MIT的研究小组现在正在研究如何改善识别与跟踪的算法,目的是为了建立一个扩大的(鼠标操作)命令库。
Before I can define how this linkage between an argument and a field is communicated to the library, I first need to decide how I want to format the command line arguments.
在我能够定义一个参数和一个字段之间的这种关联如何与库进行通信之前,我需要决定我希望如何格式化这些命令行参数。
This request — or rather, this command — seemed quite popular amongst the three of them, and so it was with a trembling demeanor that I proceeded to leave the library.
看起来这个请求,或者说这个命令是他们三个人一致认同的,所以我只好战战兢兢得离开了图书馆。
You can handle the actual processing of command line arguments with a single call, but the application first needs a way to define its particular parameters to the library.
您可以使用单个的调用来负责命令行参数的实际处理,但是这个应用程序首先需要以某种方式将它的特定的形参定义到库中。
This month I'm going even further by looking at an application that seems to be a good match for reflection's strengths and weaknesses: a library for command line argument processing.
在本月这一期的文章中,我将通过查看一个应用程序来更深入地讨论这一问题,这个应用程序是用于命令行参数处理的一个库,它能够很好地体现反射的强项和弱点。
It installs the required library files and the gem command.
这样就安装了所需的库文件和gem命令。
The base contour is enabled along with hidden line removal, and the sinc plot is created with the splot command using the internally available math library functions.
同时还启用了基本的等高线和隐线消除特性,最终的绘图是利用splot命令使用数学库内部的函数来创建的。
Use the export command to set the library path variable that will enable the application to find foo.so at run time.
使用export命令设置库路径变量,该变量使应用程序能够在运行时找到foo . so。
Remember that the getopt library routine is general in nature, and not every command line option is expected to have an associated value.
请记住,getopt库例程本质上是通用的,而且并非每个命令行选项都有相关联的值。
Listing 3 shows how you used optparse from the python library for command line parsing of the other three parameters.
清单3展示了如何使用这个python库中的optparse来进行其他三个参数的命令行解析。
Find the Tomahawk command button tag in the library definition editor and open the tag Attributes section to see the list of attribute names.
在库定义编辑器中找到Tomahawk命令按钮标签,并打开TagAttributes部分以查看属性名的列表。
Locate the caching directory on your Linux computer, and use the appropriate command to find a library that mkdir needs.
查找Linux计算机上的缓存目录,使用适当的命令查找mkdir所需的库。
The shared library, libcalculator.so, you build using the command in Listing 7. The libcalculator.so
您可以使用清单7中的命令来构建共享库libcalculator.so 。
Let's create a document using an HTTP POST command to a library feed URL and demonstrate the creation of an Atom Entry with custom fields as an example.
让我们通过对库提要URL使用HTTPPOST命令来创建一个文档,并以创建带定制字段的AtomEntry为例子。
The -ltiff is a command that includes the library named libtiff, which needs to be in your library path.
ltiff是包含名为libtiff的库的命令,该库必需在库路径中。
Create a library called CVTTEMP in which the program objects will be stored by issuing the CL command CRTLIB from the CL command line as follows.
从CL命令行运行命令CRTLIB,创建一个名为CVTTEMP的库,该库用于存储程序对象。
You need to install the 32-bit libXp library for the Rational Functional Tester graphical interface to work correctly. Enter this command.
您需要安装32位的libxp库,以让RationalFunctionalTester图形化界面正常工作。
64-bit switch load library: Copy /opt/IBM/mqsi/6.0/sample/xatm/db2swit64 to /var/mqm/exits64/db2swit (This command also renames the file to remove the 64 when installed to exits64.)
位交换加载库;将 /opt/IBM/mqsi/6.0/sample/xatm/db2swit64复制到 /var/mqm/exits64/db2swit(此命令还将重命名文件,以在安装到 exits64时删除 64)。
The top floor of the command center held basic bunk beds, a kitchen and a small reading library.
指挥中心的顶层安置着双层床、厨房和一个小图书馆。
You can build and install the DXF library by simply entering the following on the command line
可以通过简单地在命令行输入如下命令来构建和安装DXF库
Doing so adds the four library files to your project classpath and gives you access to the ij command-line prompt.
这样做将把四个库文件添加到项目classpath中并为您提供对ij命令行提示符的访问权。
In the library function and the command, the charset of the input is specified as an argument.
在库函数和命令行中,输入的字符集被说明为一个参数。
The build produces a library and associated application programming interface (API) header files as well as a stand-alone command-line utility named sqlite3 that's useful for exploring features.
构建过程生成一个库和相关联的应用程序编程接口(API)头文件,以及一个单独的命令行实用程序sqlite3,它有助于研究特性。
The Boost program_options library provides routines and data structures that make command-line processing easier.
Boost program_options库提供了简化命令行处理的例程和数据结构。
As an example, Transformiix can be used as a library, a Perl module, or a command-line tool.
例如,Transformiix可以用作一个库、Perl模块或命令行工具。
The bash shell USES the readline library to manage command editing and history.
bashshell使用readline历史来管理命令编辑和历史。
When compiled with GCC hello.c, an executable file named a.out is created. Using the Linux command LDD a.out, which prints Shared library dependencies, the required Shared libraries are.
当使用gcc编译hello. c时,就创建了一个名为a.o ut的可执行文件。
Simple library and command line utility for extracting summary from HTML pages or plain texts.
一个简单的库和命令行实用程序,用以从HTML页面或者明文中抽取摘要。
应用推荐