Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Type introspection


Related Topics

In the News (Wed 30 Dec 09)

  
 PEP 252 -- Making Types Look More Like Classes
For example, you can't directly subclass the dictionary type, and the introspection interface for finding out what methods and instance variables an object has is different for types and for classes.
The class-based introspection API is used primarily for class instances; it is also used by Jim Fulton's ExtensionClasses.
The type API is sometimes combined with a __dict__ that works the same as for instances (for example for function objects in Python 2.1, f.__dict__ contains f's dynamic attributes, while f.__members__ lists the names of f's statically defined attributes).
www.python.org /dev/peps/pep-0252   (3810 words)

  
 E. B. Titchener: The Type-Theory of The Simple Reaction   (Site not responding. Last check: 2007-10-18)
There is a psychological disposition involved in regularity of reaction : and the obtaining of the sensorial-muscular types may be regarded 'as averagely characteristic of it.'—The theory of the reaction itself, as I said just now, is quite a different matter.
But it is plain enough that we cannot infer type from reaction, whatever may be the effect of type upon reaction, given equality of all other conditions.
Type may shift in other ways : it is possible to break oneself of the habit of piano playing by finger-memory, and to learn to "read," i.e.
spartan.ac.brocku.ca /~lward/Titchener/Titchener_1895b.html   (3300 words)

  
 Classics in the History of Psychology -- Titchener (1895b)
There is a psychological disposition involved in regularity of reaction: and the obtaining of the sensorial-muscular types may be regarded as averagely characteristic of ·it.'-- The theory of the reaction itself, as I said just now, is quite a different matter.
Type may shift in other ways: it is possible to break oneself of the habit of piano playing by finger-memory, and to learn to "read," i.e.
Having satisfied myself of these relations, I attempted, in 1891 and 1892, to have special practice to the motor and auditory types; and succeeded in largely increasing their effectiveness.
psychclassics.yorku.ca /Titchener/type1.htm   (3411 words)

  
 [No title]
For the types that remain, either there is a one-to-one mapping into one of the language types, as is the case for IDL doubles, or the scripting language must implement a native class which correctly wraps the IDL type.
We mark the types that are mapped natively, the ones that are converted, and the ones that are wrapped by a native object/class instead.
Typing is dynamic and conversions among types are automatic, which means the script writer does not have to worry about types.
www.omg.org /docs/orbos/98-07-02.txt   (17215 words)

  
 Extensions to CodeWarrior Pascal
It is possible to declare an anonymous type in the interface part of a unit and leave the actual declaration of the type for the implementation.
The corresponding type declaration in the implementation needs to be a pointer to some type or an object.
It is often necessary to perform type introspection at runtime to prevent problems, to this effect a method called isMemberOfClass, declared in NSObject, checks whether the object instance is an instance of a particular class.
pascal-central.com /cwpascal.html   (1817 words)

  
 snell-atompub-app-introspection-00.txt
APP Introspection allows for the use of IRI's [RFC3987], xml:base [W3C.REC-xmlbase-20010627] and xml:lang in the same fashion described in Section 2 of the Atom Syndication Format specification [I-D.ietf- Snell Expires May 17, 2006 [Page 3] Internet-Draft APP Introspection November 2005 atompub-format].
The 'type' attribute MAY be used to specify the types of resources contained by the collection.
If the 'type' attribute specifies a value that is not understood by the an application, the application MUST ignore the attribute as if the attribute were not present.
ietfreport.isoc.org /idref/draft-snell-atompub-app-introspection   (1208 words)

  
 Typology: Comments on Four Letter Type Distinctions
Nor does this mean that Introspector types are unaware of the objects around them -- not at all -- but simply that they are more inclined to become absorbed in their ideas.
On the other hand, Introspectors practice introspection much of their time, and with pleasure, but the penalty they pay for this is that they can end up with relatively undeveloped observational abilities.
For both types, the vitality, the immediacy, and the significance of life is found more easily in their own world, while what is central to the other's world seems relatively foreign, uninteresting, and unimportant.
www.gesher.org /Myers-Briggs/comments_on_type_2005.html   (3419 words)

  
 Classics in the History of Psychology -- Titchener (1896)
From these, checked by special experiments the experimenter ascertains the type of memory employed,  a new set of experiments is then begun, in which the subject is told to remember in a particular way, different from the way of least resistance.
The type theory would hardly be a theory of the geistige Anlagen which it presupposes, even if it fitted all the reaction facts.
It surely posits memory type; it does not state the conditions under which one or other type may be looked for.
psychclassics.yorku.ca /Titchener/type2.htm   (2775 words)

  
 Naked Objects | Lambda the Ultimate
More concretely, when I define a type T in the local scope, I should be able to syntactically specify that the compiler should generate a data structure describing T's layout (call it T.metadata, for example), and to make that data public or private.
But, given just a value of some arbitrary type, one should not be able to extract its "type", since that notion violates many universal properties (such as the subtyping property).
Typeable a ⇒ a lets you check whether a is a type you're familiar with, but doesn't give you any extra information if it isn't; and ∃a.
lambda-the-ultimate.org /node/1270   (2062 words)

  
 [No title]
ReturnStat ::= return [ expression ] ; Anonymous types It is possible to declare an anonymous type in the interface part of a unit and leave the actual declaration of the type for the implementation.
Object instances are identified using a generic data type that is compatible with all class type definitions, this type is ID. A generic type exists also for object classes, this type is Class.
Type introspection object instances can reveal their type at run time.
www.pascal-central.com /docs/cwpascal.doc   (1938 words)

  
 10.3 Introspection
Types and operations as objects will be considered for inclusion in the Meta_data component of the OMG OM Components Guide.
Type "Type" is a subtype and an instance of type Atomic_object.
Type objects may be passed as parameters to implement polymorphism or inspected at run-time to implement run-time type checking.
www.objs.com /x3h7/sec103.htm   (755 words)

  
 Guide to Python introspection
In computer programming, introspection refers to the ability to examine something to determine what it is, what it knows, and what it is capable of doing.
Type or class object: its attributes, and recursively the attributes of its bases.
With a type as second argument, return whether that is the object's type.
www-106.ibm.com /developerworks/linux/library/l-pyint.html   (3816 words)

  
 Introspection & compound type signatures   (Site not responding. Last check: 2007-10-18)
It might be handy to have some standard location for all bindings to use if they wanted to allow XML introspection data to be provided external to the source code.
b) provide the introspection data inline in some convenient language native format, for example when defining an object, rather than just passing in the list of methods to export, pass in a data structure.
In this case, the perl data structure would be serialized to XML on the fly by the impl of Introspect method in the base class.
lists.freedesktop.org /archives/dbus/2005-March/002398.html   (369 words)

  
 Type introspection - Wikipedia, the free encyclopedia
In computing, type introspection is a capability of some object-oriented programming languages to determine the type of an object at runtime.
), the function will behave correctly depending on the type of the generic object.
Type introspection can be used to implement polymorphism.
en.wikipedia.org /wiki/Type_introspection   (180 words)

  
 [No title]
There are lots of use cases for introspection, so I wonder why there is introspection for facets, but not for receptacles or event ports.
Introspection and type-generic port handling operations are required for dynamic tools.
The types used for facet and receptacle introspection are also updated in order to achieve a consistent interface for all types of ports.
www.omg.org /issues/issue4412.txt   (2327 words)

  
 Proposed Spec for Eiffel Introspection Library
Introspection is also known as reflection, meta-level programming or meta-object protocols.
An introspection library allows a running program to examine the structure of its objects.
Determine if a type of an object conforms to a given class.
www.netlabs.net /hp/richieb/meta   (411 words)

  
 Re: OO polymorphism
This is a semantic distinction, whether types play a role or not in the evaluation.
And if an operation uses directly the type of an object to access its representation, it might be unable to work properly on one of its subtypes.
This can also be seen as adequation between the type system and the language: if a language has both inclusion polymorphism, and allows uncontrolled type dispatch, you may easily loose type safety (cast failure).
www.seas.upenn.edu /~sweirich/types/archive/1999-2003/msg01194.html   (681 words)

  
 :: Welcome to Cognition - Third Edition - Exploring the Science of the Mind ::
This is because, as one concern, introspection relies on what people remember about their own mental processes, and we cannot count on these memories being reliable.
In addition, introspections are usually reported verbally: The person describes what happened in his or her own mind.
In Chapter 11, we noted that there are complexities attached to someone's introspective reports about the vividness of his or her own images, but we argued that these vividness reports are nonetheless an important source of data about images.
www.wwnorton.com /college/psych/cog3/essays/ch15.htm   (1024 words)

  
 Betwixt - Derived Beans
A derived bean is one whose runtime class differs from the mapped property type (as determined during introspection).
The introspection time type is the (expected) type as discovered during introspection.
Whether the bind time type or the introspection time type should determine the mapping is configurable in two different ways.
jakarta.apache.org /commons/betwixt/betwixt-0.7/guide/derived.html   (451 words)

  
 ITworld.com - XML IN PRACTICE - XML and the Rise and Rise of Dynamic Typing
All variables have one, and only one, type associated with them, which is allocated at design time and never changed at run- time.
Apart from some fundamental types like strings, integers and so on, type information must be compiled into applications prior to execution.
Some, for example, let developers promise not to change the type of a variable at run-time and thus allow the compiler/interpreter to be cleverer in its dealings with the variable both at compile time and at run time.
www.itworld.com /nl/xml_prac/03072002   (840 words)

  
 lab_intro
Type introspection is covered along with Array/vectors and structures.
There are two functions that can in useful in doing introspection upon an object's type.
The second is a predicate for testing type.
www-static.cc.gatech.edu /computing/classes/cs2360/labs/lab6.html   (1223 words)

  
 TIP #117 Version 1.1: Object Type Introspection   (Site not responding. Last check: 2007-10-18)
This small gap in Tcl's introspection abilities can be filled with a simple addition to the info command.
Since the command is mainly for debugging it gives a human readable output, but guarantees that it is also a list to simplify script handling of the result.
It returns a list where the second element is the name of value's object type, or "none" if there is no internal representation.
www.tcl.tk /cgi-bin/tct/tip/view/117?ver=1.1   (326 words)

  
 Object Type Introspection
This TIP proposes to add a command to give information on the current internal representation of an object.
If no value is submitted, a list of all currently registered object types are returned.
For further object introspection the command can easily be extended by options.
www.cs.man.ac.uk /fellowsd-bin/TIP/117.xml   (205 words)

  
 Grounded Introspection and Grounded Protocols
Grounded introspection studies a system within which the analyst is fixed, often times without being consciously aware of the connection, and attempts to closely replicate some of the characteristics of a full-blown
Furthermore, that same type of introspective speculation could be applied to individual reflection for the purpose of personal, emotional, intellectual, spiritual, and physical maintenance.
These introspections could be embedded; about a system an individual inhabits, or personal, regarding an individual.
home.earthlink.net /~edreforum/id7.html   (1358 words)

  
 Psychology of Consciousness (Psyc. 358)
• Most introspection is informal, but in research, people may be asked to do formal introspection in a systematic manner and report their inner observations as precisely as possible.
Introspective verbal reports are intended to be reports on the subject's conscious experience per se, including contents and mental processes related to the task, and on daydreams unrelated to the task.
The fact that introspective reports cannot be verified is the major reason why they have been rejected by many as a research method.
www.ic.arizona.edu /ic/psyc358/358-Lect_5.htm   (2343 words)

  
 D-Bus Specification   (Site not responding. Last check: 2007-10-18)
A type code is an ASCII character representing the type of a value.
A single complete type is a basic type code, a variant type code, an array with its element type, or a struct with its fields.
The restrictions are: it occurs only as an array element type; it has exactly two single complete types inside the curly braces; the first single complete type (the "key") must be a basic type rather than a container type.
dbus.freedesktop.org /doc/dbus-specification.html   (10876 words)

  
 Introducing SDO
SDO is a data programming architecture and API for the Java platform that unifies data programming across data source types, provides robust support for common application patterns, and enable applications, tools, and frameworks to more easily query, read, update, and introspect data.
The interface or class defines the type, and this type has properties accessed with statically typed getters and setters.
Type is roughly equivalent to class, and property is roughly equivalent to field.
dev2dev.bea.com /pub/a/2004/05/sdo_beatty.html   (1745 words)

  
 TIP #117: Object Type Introspection   (Site not responding. Last check: 2007-10-18)
When trying to understand the internals of objects and when trying to track down shimmering problems it is very helpful to be able to see what type an object currently has.
If a value is submitted, it returns a list where the first element is the name of value's object type, or "none" if there is no internal representation.
The second element is a boolean stating if the object has a valid string representation.
www.tcl.tk /cgi-bin/tct/tip/117.html   (371 words)

  
 [No title]
All presume the presence of digital signatures 3 Approaches Capabilities Extended Stack Introspection Type Hiding¡P%— 6%— 6ó Ÿ¨ CapabilitiesŸ¨ªA capability is an unforgeable pointer to a controlled system resource.
Type hiding and extended stack introspection provide good compatibility Capability requires changes of Java class API designóŸ¨ ª Ÿ¨aFail-Safe Defaults Least common mechanism Accountability Psychological acceptability Remote callsóŸ¨ ConclusionŸ¨¥Software-based protection systems Three designs for security are suggested Capability system It can be implemented naturally in Java.
But its complexity is troubling and its implementation is very specific to JVM Type hiding It offers good compatibility.
www.cis.upenn.edu /~lee/98cis640/Lectures/sp4.ppt   (330 words)

  
 Document Type Introspection API? - wMUsers
Using a document type name I need to determine the structure of the document including field names and types.
I'm convinced that such an API exists as it's the type of thing that would probably be used by Developer and Broker Admin when a user requests the structure of a document type.
I too think that there should be some api to read the structure of a document type - cuz I believe that's what is used when you open a document type in the developer editor, but I couldn't find it.
www.wmusers.com /forum/showthread.php?t=8870   (1130 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.