Карта сайта Kansoftware
НОВОСТИУСЛУГИРЕШЕНИЯКОНТАКТЫ
Разработка программного обеспечения

Property

Boost , ,

Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

C++ Boost

PropertyTag

A Property Tag is a type used to name or identify properties that are attached to the vertices and edges of a graph. A Property type is not the type of the actual property values. Objects of the Property type are not used except to carry the type information which specifies the property. See the section about Custom Edge Properties for a description of how to define your own property tags.

Associated Types

Тип собственности property_kind< PropertyTag>::type Это указывает на то, является ли собственность.Vertex Property Tagvertex_property_tag,Edge Property Tagedge_property_tagили.Тег свойств графа, который прикреплен к самому объекту графаgraph_property_tag). Определяется в.boost/graph/properties.hpp.Свойство_видКласс признаков определен вboost/pending/property.hpp.
Идентификатор собственности property_num::value Это необходимо в качестве обходного пути при использовании компиляторов, которые не поддерживают частичную специализацию (и, следовательно, не позволяют нам использоватьboost::is_same, чтобы определить, одинаковы ли два тега свойств). Класс свойств_numопределен вboost/pending/property.hpp.

Refinement of

Default Constructible

Models

The following models of the Property Tag concept are defined in boost/graph/properties.hpp.
  • vertex_index_t
  • edge_index_t
  • граф_имя_t
  • vertex_name_t
  • edge_name_t
  • edge_weight_t
  • vertex_distance_t
  • vertex_color_t
  • vertex_degree_t
  • vertex_out_degree_t
  • vertex_in_degree_t
  • vertex_discover_time_t
  • vertex_finish_time_t

See Also

PropertyGraph and Property Map Concepts

Notes

On compilers that do not support partial specialization, each Property type is also required to specialize property_num<PropertyTag> to contain an enum named value which uniquely identifies the property type.

Copyright © 2000-2001Джереми Сик, Университет Индианыjsiek@osl.iu.edu

Статья Property раздела может быть полезна для разработчиков на c++ и boost.




Материалы статей собраны из открытых источников, владелец сайта не претендует на авторство. Там где авторство установить не удалось, материал подаётся без имени автора. В случае если Вы считаете, что Ваши права нарушены, пожалуйста, свяжитесь с владельцем сайта.



:: Главная :: ::


реклама


©KANSoftWare (разработка программного обеспечения, создание программ, создание интерактивных сайтов), 2007
Top.Mail.Ru

Время компиляции файла: 2024-08-30 11:47:00
2025-07-05 04:59:56/0.0033512115478516/0