This annotation also has a class scope.
这个注解也是类级别的注解。
Class scope includes all base classes.
类范围包含所有的基类。
Don't: Leaking state outside class scope.
不要:类作用域之外的暴露状态。
A template cannot be specialized at class scope, only in global or namespace scope.
模板无法在类范围被专用化,只能在全局或命名空间范围被专用化。
You can find a list of the Active Record model validations that can be defined in the class scope here.
在这里可以找到可以在类范围中定义的ActiveRecord模型检验列表。
The class scope to which associate the closure is to be associated, or 'static' to keep the current one.
想要绑定给闭包的类作用域,或者'static' 表示不改变。
When you use a BOOST_STATIC_ASSERT in class scope, it doesn't matter whether it's declared private, protected, or public.
当您在类范围中使用BOOST_STATIC_ASSERT时,它是私有的、受保护的还是公开的并不重要。
The general conclusion was that the good of a static assert working at namespace, function, and class scope outweighed the ugliness of a macro.
一般,得到工作于名字空间、函数、类作用域的优秀的静态断言要比多使用一个难看的宏要值得。
You can use static assertions in global scope and inside namespaces, function bodies, or class declarations.
可以在全局范围以及在名称空间、函数体或类声明内使用静态断言。
The details of the UML are beyond the scope of this article, but such diagrams are nonetheless an excellent way of visualizing class relationships.
UML的详细信息超出了本文的范围,但这种图表不过是一种可视化类关系的好方法。
Play an active role in class participation and set appointments during their office hours to seek advice. The scope and content of discussion should go beyond class materials.
在课堂上积极表现,想办法在他们的工作时间与他们经常交流、征求他们的意见,而讨论的范围和内容应该超越课本。
This wrapper class drops its connection to the DataObject when it goes out of scope, or gets nulled.
此包装类会在超出范围或设置为空时丢弃其到数据对象的连接。
The scope resolution operator should sit between the class name and the static property you wish to access.
范围解析操作符应位于类名和希望访问的静态属性之间。
Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.
在这种情况下使用闭包与在类外部使用闭包实现的目的相同:包含在小范围内绑定的特定函数。
This can be declared in a class or at a global scope.
它可以在一个类或全局范围内声明。
To call a static method from outside of its class, use the class name together with the scope resolution operator and the name of the method.
要从类外部调用静态方法,可使用类名加上范围解析符和方法名。
Figure 1 shows a class I've written, Scope, which implements somewhat similar behavior.
图1显示了我编写的一个类:Scope,它实现了有些相似的行为。
Job targeting attributes like device class name, devices for job, query, job target scope and so on.
作业对象属性,如设备类名、作业设备、查询和作业对象的范围等。
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.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
You can use Boost static assertions in a class, function, or namespace scope; you can also use them with templates.
您可以在类、函数或命名空间范围中使用Boost静态断言;还可以与模板一起使用它们。
To retrieve the scope information, each method of the SessionBeanX class must have the parameter RequestContext.
为了获取范围信息,SessionBean x类的每个方法必须有RequestContext参数。
For all other cases, you can use the helper class we provided to generate the id, which USES session prefixing defined to entries stored in the portlet scope in the portlet session.
对于所有其他情况,可以使用我们提供的helper类生成id,它将定义的会话前缀用于存储在Portlet会话的Portlet范围中的条目。
A scope annotation can be added to either the interface or implementation class definition. The Feature Pack for SCA supports stateless and composite scopes.
可以向接口或实现类定义添加范围注释。
The modified AnyAction class in Listing 10 demonstrates how to retrieve the request scope key from the RequestContext object and pass the RequestContext object to EJB components.
修改后的anyaction类(清单10)演示如何从RequestContext对象获取请求范围键并把RequestContext对象传递给EJB组件。
This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class.
Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。
Use the NSStack class to track the scope of XML namespace declarations.
使用nsstack类跟踪XML名称空间声明的作用域。
Instead, the names of the input and output pins on the actions are labeled by a parameter, variable, or structural feature in the context classifier (the class owning the activity) that is in scope.
相反,操作上输入与输出的名字,会标上范围内背景标识符(拥有活动的类)中的参数、变量或者结构性特性。
Finally, it dawned on me that they had declared many variables with global scope (class instance variables) via declaration elements.
最后,我发现他们通过声明元素声明了很多全局变量(类实例变量)。
Contrary to what you might assume, just-in-time does not happen when an instance is created, or methods run, but rather in the scope where the class is defined.
与您可能假设的情况相反,即时优化不在创建实例时或方法运行时发生,而是在定义类的作用域内发生。
In broad scope, the first half of the class is going to be metaphysics, for those of you who are familiar with the philosophical piece of jargon.
广泛上讲,这门课程的前半部分,对于你们中熟悉哲学术语的人来说,将会是形而上学。
应用推荐