pybind11/example/example2.ref

122 lines
3.2 KiB
Plaintext
Raw Normal View History

2015-10-01 14:48:34 +00:00
15
5
Example2: No constructor defined!
can't set attribute
2015-07-05 18:05:44 +00:00
key: key2, value=value2
key: key, value=value
2015-10-01 14:48:34 +00:00
key: key, value=value
2015-07-05 18:05:44 +00:00
key: key2, value=value2
key: key3
key: key2
key: key1
key: key1
key: key2
key: key3
2015-07-05 18:05:44 +00:00
Entry at positon 0: value
list item 0: overwritten
list item 1: value2
list item 0: value
list item 1: value2
This exception was intentionally thrown.
2015-10-01 14:48:34 +00:00
(u'test', True)
(5L, u'test', True)
2015-07-05 18:05:44 +00:00
Help on class Example2 in module example
2015-10-01 14:48:34 +00:00
class EExxaammppllee22(__builtin__.object)
| Example 2 documentation
|
2015-07-05 18:05:44 +00:00
| Methods defined here:
|
2015-10-01 14:48:34 +00:00
| ____iinniitt____(...)
| x.__init__(...) initializes x; see help(type(x)) for signature
2015-07-05 18:05:44 +00:00
|
2015-10-01 14:48:34 +00:00
| ggeett__ddiicctt(...)
| Signature : (Example2) -> dict
2015-07-05 18:05:44 +00:00
|
| Return a Python dictionary
|
2015-10-01 14:48:34 +00:00
| ggeett__ddiicctt__22(...)
| Signature : (Example2) -> dict<str, str>
2015-07-05 18:05:44 +00:00
|
| Return a C++ dictionary
|
2015-10-01 14:48:34 +00:00
| ggeett__lliisstt(...)
| Signature : (Example2) -> list
2015-07-05 18:05:44 +00:00
|
| Return a Python list
|
2015-10-01 14:48:34 +00:00
| ggeett__lliisstt__22(...)
| Signature : (Example2) -> list<str>
2015-07-05 18:05:44 +00:00
|
| Return a C++ list
|
| ggeett__sseett(...)
| Signature : (Example2) -> set
|
| Return a Python set
|
| ggeett__sseett22(...)
| Signature : (Example2) -> set
|
| Return a C++ set
|
2015-10-01 14:48:34 +00:00
| ppaaiirr__ppaasssstthhrroouugghh(...)
| Signature : (Example2, (bool, str)) -> (str, bool)
2015-07-05 18:05:44 +00:00
|
| Return a pair in reversed order
|
2015-10-01 14:48:34 +00:00
| pprriinntt__ddiicctt(...)
| Signature : (Example2, dict) -> None
2015-07-05 18:05:44 +00:00
|
| Print entries of a Python dictionary
|
2015-10-01 14:48:34 +00:00
| pprriinntt__ddiicctt__22(...)
| Signature : (Example2, dict<str, str>) -> None
2015-07-05 18:05:44 +00:00
|
| Print entries of a C++ dictionary
|
2015-10-01 14:48:34 +00:00
| pprriinntt__lliisstt(...)
| Signature : (Example2, list) -> None
2015-07-05 18:05:44 +00:00
|
| Print entries of a Python list
|
2015-10-01 14:48:34 +00:00
| pprriinntt__lliisstt__22(...)
| Signature : (Example2, list<str>) -> None
2015-07-05 18:05:44 +00:00
|
| Print entries of a C++ list
|
| pprriinntt__sseett(...)
| Signature : (Example2, set) -> None
|
| Print entries of a Python set
|
| pprriinntt__sseett__22(...)
| Signature : (Example2, set<str>) -> None
|
| Print entries of a C++ set
|
2015-10-01 14:48:34 +00:00
| tthhrrooww__eexxcceeppttiioonn(...)
| Signature : (Example2) -> None
2015-07-05 18:05:44 +00:00
|
| Throw an exception
|
2015-10-01 14:48:34 +00:00
| ttuuppllee__ppaasssstthhrroouugghh(...)
| Signature : (Example2, (bool, str, int32_t)) -> (int32_t, str, bool)
2015-07-05 18:05:44 +00:00
|
| Return a triple in reversed order
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
2015-10-01 14:48:34 +00:00
| ____nneeww____ = <built-in method __new__ of Example2_meta object>
| T.__new__(S, ...) -> a new object with type S, a subtype of T
|
| ____ppyybbiinndd1111____ = <capsule object NULL>
2015-10-01 14:48:34 +00:00
|
| nneeww__iinnssttaannccee = <built-in method new_instance of PyCapsule object>
| Signature : () -> Example2
|
| Return an instance
2015-07-05 18:05:44 +00:00
Destructing Example2