Panda3D
Loading...
Searching...
No Matches
bioStream.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file bioStream.I
10 * @author drose
11 * @date 2002-09-25
12 */
13
14/**
15 *
16 */
17INLINE IBioStream::
18IBioStream() : ISocketStream(&_buf) {
19}
20
21/**
22 *
23 */
24INLINE IBioStream::
25IBioStream(BioPtr *source) : ISocketStream(&_buf) {
26 open(source);
27}
28
29/**
30 *
31 */
32INLINE IBioStream &IBioStream::
33open(BioPtr *source) {
34 clear((ios_iostate)0);
35 _buf.open(source);
36 return *this;
37}
38
39/**
40 *
41 */
42INLINE OBioStream::
43OBioStream() : OSocketStream(&_buf) {
44}
45
46/**
47 *
48 */
49INLINE OBioStream::
50OBioStream(BioPtr *source) : OSocketStream(&_buf) {
51 open(source);
52}
53
54/**
55 *
56 */
57INLINE OBioStream &OBioStream::
58open(BioPtr *source) {
59 clear((ios_iostate)0);
60 _buf.open(source);
61 return *this;
62}
63
64/**
65 *
66 */
67INLINE BioStream::
68BioStream() : SocketStream(&_buf) {
69}
70
71/**
72 *
73 */
74INLINE BioStream::
75BioStream(BioPtr *source) : SocketStream(&_buf) {
76 open(source);
77}
78
79/**
80 *
81 */
82INLINE BioStream &BioStream::
83open(BioPtr *source) {
84 clear((ios_iostate)0);
85 _buf.open(source);
86 return *this;
87}