An Entity of Type: ProgrammingLanguage106898352, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computer programming, run-time type information or run-time type identification (RTTI) is a feature of some programming languages (such as C++, Object Pascal, and Ada) that exposes information about an object's data type at runtime. Run-time type information may be available for all types or only to types that explicitly have it (as is the case with Ada). Run-time type information is a specialization of a more general concept called type introspection.

Property Value
dbo:abstract
  • RTTI (Run-Time Type Information, tj. informace o typu za běhu) nebo Run-Time Type Identification(tj. typová identifikace za běhu) je v informatice technika používaná v programovacím jazyce C++, která odhaluje informaci o datovém typu objektu za běhu programu. RTTI může být aplikována jak na jednoduché datové typy (např. celá čísla, znaky), tak také na generické datové typy. Tato technika je specializací jazyka C++, která rozšiřuje obecný koncept techniky nazývané typová introspekce. Podobné techniky jsou ovšem známé i z jiných programovacích jazyků, jako je například Delphi (Object Pascal). Zajímavostí pak je, že v původní implementaci jazyka C++ tato technika nebyla vložena, jelikož se její autor Bjarne Stroustrup domníval, že by byl mechanismus velmi často používán špatným způsobem. (cs)
  • RTTI steht als Abkürzung für Runtime Type Information („Typinformation zur Laufzeit“) und ist ein Begriff aus der Softwareentwicklung und Bestandteil verschiedener Programmiersprachen. RTTI ermöglicht es, zur Laufzeit den Typ eines Objektes zu ermitteln. Somit kann ein Programm während seiner Ausführung ermitteln, welcher konkreten Klasse ein Objekt angehört, auf das eine bestimmte Referenz zeigt. Ohne diesen Mechanismus „wüsste“ das Programm an dieser Stelle nur, dass ein Exemplar irgendeiner Klasse referenziert wird, die von der Basisklasse abgeleitet ist. Mit diesem Mechanismus „weiß“ es, welcher Klasse das referenzierte Objekt angehört. Während RTTI einen recht einfachen Mechanismus darstellt, der üblicherweise nur den Namen der konkreten Klasse liefert, gibt es in moderneren Programmiersprachen den Mechanismus der Reflexion, der es ermöglicht, auch Informationen über andere Eigenschaften einer Klasse zur Laufzeit zu ermitteln, z. B. die Namen und Signaturen ihrer Methoden. (de)
  • In computer programming, run-time type information or run-time type identification (RTTI) is a feature of some programming languages (such as C++, Object Pascal, and Ada) that exposes information about an object's data type at runtime. Run-time type information may be available for all types or only to types that explicitly have it (as is the case with Ada). Run-time type information is a specialization of a more general concept called type introspection. In the original C++ design, Bjarne Stroustrup did not include run-time type information, because he thought this mechanism was often misused. (en)
  • En informatique, Run-Time Type Information est utilisé pour signaler la capacité d'un langage de programmation à déterminer le type d'une variable pendant l'exécution d'un programme. Bien que disponible dans la plupart des langages de programmation, le terme RTTI est souvent utilisé en référence au C++ qui par défaut, détermine le type à la compilation. Ce typage dynamique explicite en C++ – déclaré par l'utilisation de l'opération <a href="/wiki/Dynamic_cast" title="Dynamic cast">dynamic cast</a><> – diffère de celui automatique de l'Objective-C pour lequel le typage et l'édition de liens sont réalisés lors de l'exécution. (fr)
  • La RTTI (RunTime Type Information o RunTime Type Identification) consente ai programmi che manipolano puntatori e riferimenti ad oggetti di una classe base, di determinare il tipo dell'oggetto durante l'esecuzione invece che solo al momento della compilazione. Questa caratteristica è utile nei programmi in cui si ha l'esigenza di aggiungere una qualche funzione virtuale ad una gerarchia di classi, ma non si ha accesso al codice sorgente di queste classi. Infatti, l'aggiunta di questa funzione personale comporta la ricompilazione di tutte le funzioni membro che ne fanno uso. Questo è particolarmente vero per le librerie realizzate da terze parti: si hanno a disposizione soltanto i file header e la versione già compilata, ma non il codice sorgente. In questa situazione non è possibile effettuare la ricompilazione. Per i dettagli su come gestire questa caratteristica si rimanda alla documentazione del proprio linguaggio di programmazione. RTTI, come termine è tipicamente utilizzato in relazione al C++. Per far sì che le operazioni che coinvolgono il <a href="/wiki/Dynamic_cast" title="Dynamic cast">dynamic_cast</a><>, l'operatore <a href="/w/index.php?title=Typeid&action=edit&redlink=1" class="new" title="Typeid (la pagina non esiste)">typeid</a> o le eccezioni funzionino in C++, l'RTTI deve essere abilitato. (it)
  • 런타임 타입 정보(RTTI, Run-Time Type Information 또는 Run-Time Type Identification)는 런타임 시 객체의 자료형에 관한 정보를 드러내는 C++ 메커니즘을 가리킨다. RTTI는 간단한 정수나 문자와 같은 자료형 또는 제네릭 타입에 적용할 수 있다. 이것은 이라고 부르는 더 일반적인 개념의 C++ 특수화이다. 델파이 (오브젝트 파스칼)같은 다른 프로그래밍 언어들에서도 비슷한 메카니즘이 존재한다. 원래 C++ 디자인에서, 비야네 스트롭스트룹은 이 메커니즘이 자주 오용된다고 생각했기 때문에, RTTI를 포함시키지 않았다. (ko)
  • 実行時型情報(じっこうじかたじょうほう、英: Run-Time Type Information, RTTI)とは、プログラムの実行時に、メモリ上に存在するオブジェクトのデータ型に関する情報のことである。実行時型識別(英: Run-Time Type Identification, RTTI)とも。 主に型の内部名および継承の階層構造や、実装によってはメンバ関数シグネチャなどの情報を保持していることもある。これによってプログラム内のオブジェクトや変数の型を動的に(実行時に)判別できるようにする。 実行時型情報は多くのプログラミング言語で用いることができるが、RTTIは特にC++で用いられる言葉である。C++でdynamic_castによる型変換やtypeid演算子を用いるにはRTTIを有効にしなければならない。RTTIを有効にするとデータ量が増えたり速度性能に影響が出たりすることもあるため、特に組み込み用途ではRTTIが無効化されることもある。 (ja)
  • RTTI (Run Time Type Information – informacja o typie w trakcie wykonywania programu) jest techniką stosowaną w nowoczesnych obiektowych językach programowania. Technika ta polega na dołączeniu do kodu programu informacji o typach (klasach), czasami też ich i dostępnych metodach. (pl)
  • Динамическая идентификация типа данных (англ. run-time type information, run-time type identification, RTTI) — механизм в некоторых языках программирования, который позволяет определить тип данных переменной или объекта во время выполнения программы. (ru)
  • Runtime Type Information (frequentemente abreviado para RTTI; Informação de Tipo [de Dado] em Tempo de Execução em inglês) é uma técnica disponível em algumas linguagens de programação e que consiste em manter informação sobre o tipo de dado de um objeto em memória durante o tempo de execução de um programa de computador. Algumas implementações limitam-se a manter somente a árvore de heranças da classe enquanto outras também incluem informações dos métodos do objeto e seus atributos. (pt)
  • Динамічна ідентифікація типу (англ. Run-Time Type Identificator, RTTI) — механізм мов програмування, що дозволяє ідентифікувати тип об'єкта у процесі виконання програми. (uk)
  • 在程式設計中,所謂的執行期型態訊息(Runtime type information,RTTI)指的是在程式執行時保存其物件的型態訊息的行為。某些語言實作僅保留有限的型態訊息,例如繼承樹資訊,而某些實作會保留較多資訊,例如物件的屬性及方法訊息。 執行期型態訊息是一個電腦術語,用以標示一個電腦語言是否有能力在執行期保持或判別其物件或變數的型態訊息。 (zh)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 598913 (xsd:integer)
dbo:wikiPageLength
  • 12736 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1121408730 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
rdf:type
rdfs:comment
  • En informatique, Run-Time Type Information est utilisé pour signaler la capacité d'un langage de programmation à déterminer le type d'une variable pendant l'exécution d'un programme. Bien que disponible dans la plupart des langages de programmation, le terme RTTI est souvent utilisé en référence au C++ qui par défaut, détermine le type à la compilation. Ce typage dynamique explicite en C++ – déclaré par l'utilisation de l'opération <a href="/wiki/Dynamic_cast" title="Dynamic cast">dynamic cast</a><> – diffère de celui automatique de l'Objective-C pour lequel le typage et l'édition de liens sont réalisés lors de l'exécution. (fr)
  • 런타임 타입 정보(RTTI, Run-Time Type Information 또는 Run-Time Type Identification)는 런타임 시 객체의 자료형에 관한 정보를 드러내는 C++ 메커니즘을 가리킨다. RTTI는 간단한 정수나 문자와 같은 자료형 또는 제네릭 타입에 적용할 수 있다. 이것은 이라고 부르는 더 일반적인 개념의 C++ 특수화이다. 델파이 (오브젝트 파스칼)같은 다른 프로그래밍 언어들에서도 비슷한 메카니즘이 존재한다. 원래 C++ 디자인에서, 비야네 스트롭스트룹은 이 메커니즘이 자주 오용된다고 생각했기 때문에, RTTI를 포함시키지 않았다. (ko)
  • 実行時型情報(じっこうじかたじょうほう、英: Run-Time Type Information, RTTI)とは、プログラムの実行時に、メモリ上に存在するオブジェクトのデータ型に関する情報のことである。実行時型識別(英: Run-Time Type Identification, RTTI)とも。 主に型の内部名および継承の階層構造や、実装によってはメンバ関数シグネチャなどの情報を保持していることもある。これによってプログラム内のオブジェクトや変数の型を動的に(実行時に)判別できるようにする。 実行時型情報は多くのプログラミング言語で用いることができるが、RTTIは特にC++で用いられる言葉である。C++でdynamic_castによる型変換やtypeid演算子を用いるにはRTTIを有効にしなければならない。RTTIを有効にするとデータ量が増えたり速度性能に影響が出たりすることもあるため、特に組み込み用途ではRTTIが無効化されることもある。 (ja)
  • RTTI (Run Time Type Information – informacja o typie w trakcie wykonywania programu) jest techniką stosowaną w nowoczesnych obiektowych językach programowania. Technika ta polega na dołączeniu do kodu programu informacji o typach (klasach), czasami też ich i dostępnych metodach. (pl)
  • Динамическая идентификация типа данных (англ. run-time type information, run-time type identification, RTTI) — механизм в некоторых языках программирования, который позволяет определить тип данных переменной или объекта во время выполнения программы. (ru)
  • Runtime Type Information (frequentemente abreviado para RTTI; Informação de Tipo [de Dado] em Tempo de Execução em inglês) é uma técnica disponível em algumas linguagens de programação e que consiste em manter informação sobre o tipo de dado de um objeto em memória durante o tempo de execução de um programa de computador. Algumas implementações limitam-se a manter somente a árvore de heranças da classe enquanto outras também incluem informações dos métodos do objeto e seus atributos. (pt)
  • Динамічна ідентифікація типу (англ. Run-Time Type Identificator, RTTI) — механізм мов програмування, що дозволяє ідентифікувати тип об'єкта у процесі виконання програми. (uk)
  • 在程式設計中,所謂的執行期型態訊息(Runtime type information,RTTI)指的是在程式執行時保存其物件的型態訊息的行為。某些語言實作僅保留有限的型態訊息,例如繼承樹資訊,而某些實作會保留較多資訊,例如物件的屬性及方法訊息。 執行期型態訊息是一個電腦術語,用以標示一個電腦語言是否有能力在執行期保持或判別其物件或變數的型態訊息。 (zh)
  • RTTI (Run-Time Type Information, tj. informace o typu za běhu) nebo Run-Time Type Identification(tj. typová identifikace za běhu) je v informatice technika používaná v programovacím jazyce C++, která odhaluje informaci o datovém typu objektu za běhu programu. RTTI může být aplikována jak na jednoduché datové typy (např. celá čísla, znaky), tak také na generické datové typy. Tato technika je specializací jazyka C++, která rozšiřuje obecný koncept techniky nazývané typová introspekce. Podobné techniky jsou ovšem známé i z jiných programovacích jazyků, jako je například Delphi (Object Pascal). (cs)
  • RTTI steht als Abkürzung für Runtime Type Information („Typinformation zur Laufzeit“) und ist ein Begriff aus der Softwareentwicklung und Bestandteil verschiedener Programmiersprachen. RTTI ermöglicht es, zur Laufzeit den Typ eines Objektes zu ermitteln. Somit kann ein Programm während seiner Ausführung ermitteln, welcher konkreten Klasse ein Objekt angehört, auf das eine bestimmte Referenz zeigt. Ohne diesen Mechanismus „wüsste“ das Programm an dieser Stelle nur, dass ein Exemplar irgendeiner Klasse referenziert wird, die von der Basisklasse abgeleitet ist. Mit diesem Mechanismus „weiß“ es, welcher Klasse das referenzierte Objekt angehört. (de)
  • In computer programming, run-time type information or run-time type identification (RTTI) is a feature of some programming languages (such as C++, Object Pascal, and Ada) that exposes information about an object's data type at runtime. Run-time type information may be available for all types or only to types that explicitly have it (as is the case with Ada). Run-time type information is a specialization of a more general concept called type introspection. (en)
  • La RTTI (RunTime Type Information o RunTime Type Identification) consente ai programmi che manipolano puntatori e riferimenti ad oggetti di una classe base, di determinare il tipo dell'oggetto durante l'esecuzione invece che solo al momento della compilazione. Per i dettagli su come gestire questa caratteristica si rimanda alla documentazione del proprio linguaggio di programmazione. (it)
rdfs:label
  • RTTI (cs)
  • Runtime Type Information (de)
  • RTTI (it)
  • Run-time type information (fr)
  • 実行時型情報 (ja)
  • 런타임 타입 정보 (ko)
  • RTTI (pl)
  • Run-time type information (en)
  • Run-time type information (pt)
  • Динамическая идентификация типа данных (ru)
  • 執行期型態訊息 (zh)
  • Динамічна ідентифікація типу (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License