类范围包含所有的基类。
模板无法在类范围被专用化,只能在全局或命名空间范围被专用化。
A template cannot be specialized at class scope, only in global or namespace scope.
在这里可以找到可以在类范围中定义的ActiveRecord模型检验列表。
You can find a list of the Active Record model validations that can be defined in the class scope here.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
If you declare your properties private and attempt to access them from outside the class 'scope (as shown in Listing 7), the PHP engine will throw a fatal error.
当您在类范围中使用BOOST_STATIC_ASSERT时,它是私有的、受保护的还是公开的并不重要。
When you use a BOOST_STATIC_ASSERT in class scope, it doesn't matter whether it's declared private, protected, or public.
JUnit4也引入了一个JUnit3中没有的新特性:类范围的setUp和tearDown方法。
JUnit 4 also introduces a new feature that really has no equivalent in JUnit 3: class-scoped setUp and tearDown methods.
大多时候,女性都会被划归于“爱瘾”这一类范围,她们都有沉迷依赖关系的强迫倾向,与伴侣有不切实际的结合关系。
Women are more often categorized as “love addicts,” with a compulsive tendency to fall into dependent relationships and form unrealistic bonds with partners.
BankAccount的接口规范包含一个类范围的不变条件测试,即余额总要大于或等于0(对不起,不允许透支)。
The contract specification for BankAccount includes a class-wide invariant that the balance must always be greater than or equal to zero (sorry, no overdrafts allowed!).
这一类的范围从《惊艳》(1779)到《上帝保佑美国》(1984)。
They ranged from Amazing Grace (1779) to God Bless the USA (1984).
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
广度指的是超出本文范围的那些特性,比如抽象类、接口、迭代器接口、反射、异常和对象复制。
By breadth, I mean the features that were beyond the scope of this article, such as abstract classes, interfaces, the iterator interface, reflection, exceptions, and object cloning.
范围解析操作符应位于类名和希望访问的静态属性之间。
The scope resolution operator should sit between the class name and the static property you wish to access.
清单1显示了一个非线程安全的数值范围类。
如果云实例位于不同的地理区域,可能需要考虑处理多个类IP范围。
If you have cloud instances in different geographical regions, you may have the additional consideration of dealing with multiple class IP ranges.
作业对象属性,如设备类名、作业设备、查询和作业对象的范围等。
Job targeting attributes like device class name, devices for job, query, job target scope and so on.
它创建了表示这些范围的swt类stylerange的一个数组。
It creates an array of the SWT class StyleRange that represent these ranges.
为了获取范围信息,SessionBean x类的每个方法必须有RequestContext参数。
To retrieve the scope information, each method of the SessionBeanX class must have the parameter RequestContext.
可以向接口或实现类定义添加范围注释。
A scope annotation can be added to either the interface or implementation class definition. The Feature Pack for SCA supports stateless and composite scopes.
对冲基金和保险公司一类就很容易接触范围更广的信贷风险。
Hedge funds, insurers and the like gained access to a broader range of credit risks.
这些类的使用范围之一就是在连接到CICS以进行实际身份验证之前确认用户名的正确格式。
One area where these classes are used is in validating that userids are in the correct format before connecting to CICS for the actual authentication.
排除不在你责任范围以内的包和类。
Exclude packages and classes that are not your responsibility.
数年前,即使是三分之一人类感知范围也是非常了不起了。
A few years ago even a third of the range of human perception was impressive.
此包装类会在超出范围或设置为空时丢弃其到数据对象的连接。
This wrapper class drops its connection to the DataObject when it goes out of scope, or gets nulled.
食物价格也在下跌范围内,主要是由于鲜蔬菜类的价格大幅下跌。
Food prices were down as well, primarily due to a big drop in fresh vegetable prices.
然后您可以继续进行分析,把范围缩减到哪个包、类,直到找到导致问题的方法。
Then you can continue narrowing down to determine which package, class, and, finally, which method is causing the problem.
具有更加严格的项目类的存储库会将元数据操作限制到项目类内部的属性范围内。
Repositories with more rigid item classes will restrict metadata operations to those properties within the item class.
除第一类和第二类——定义项目范围和制定工作计划——之外,这10个主要的项目管理领域并不是一个顺序执行的过程。
Except for the first two categories - defining the project and planning the work - the 10 major project management areas don't fall into a sequential path.
重构的范围可以是一个类,也可以是整个项目。
Note that refactoring scales from a class to an entire project.
由此导致的花生类加工食品召回范围之广遍及花生酱到冰激凌各种食物。
The result was a massive recall of the processed peanuts contained in everything from peanut butter to ice cream.
它可以在一个类或全局范围内声明。
应用推荐