#include <typeset/obj/object.hpp>
object.hpp の 57 行目に定義があります。
◆ ObjectRegistry()
| typeset::obj::ObjectRegistry::ObjectRegistry |
( |
| ) |
|
◆ ~ObjectRegistry()
| typeset::obj::ObjectRegistry::~ObjectRegistry |
( |
| ) |
|
◆ add()
| void typeset::obj::ObjectRegistry::add |
( |
const std::string & |
name, |
|
|
ObjectHandler |
handler |
|
) |
| |
◆ addCommand()
| void typeset::obj::ObjectRegistry::addCommand |
( |
const std::string & |
name, |
|
|
const std::string & |
commandLine, |
|
|
const std::string & |
workDir = std::string() |
|
) |
| |
外部コマンドを登録する。commandLine <request.json> を実行し、標準出力の SVG を読む
- 引数
-
◆ has()
| bool typeset::obj::ObjectRegistry::has |
( |
const std::string & |
name | ) |
const |
◆ render()
ハンドラを呼ぶ(キャッシュあり)。未登録なら error 付きの結果
◆ clearCache()
| void typeset::obj::ObjectRegistry::clearCache |
( |
| ) |
|
◆ cacheSize()
| size_t typeset::obj::ObjectRegistry::cacheSize |
( |
| ) |
const |
◆ errors()
| const std::vector< std::string > & typeset::obj::ObjectRegistry::errors |
( |
| ) |
const |
|
inline |
このクラス詳解は次のファイルから抽出されました: