Beamlib  3.0.1
This is the Beam C++ class library.
BUrl.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * BUrl.h BEAM BUrl access class
3  * T.Barnaby, BEAM Ltd, 12/11/02
4  * Copyright (c) 2022 All Right Reserved, Beam Ltd, https://www.beam.ltd.uk
5  * For license see LICENSE.txt at the root of the beamlib source tree.
6  *******************************************************************************
7  */
8 #ifndef BURL_H
9 #define BURL_H 1
10 
11 #include <stdio.h>
12 #include <BString.h>
13 #include <BError.h>
14 
16 class BUrl {
17 public:
18  BUrl();
19  ~BUrl();
20 
21  BError readString(BString url, BString& str);
22 private:
23  static int oinit;
24  static size_t writeData(void* data, size_t size, size_t elSize, void* stream);
25 
26  BString ores;
27 };
28 
29 #endif
char data[8]
Definition: BoapMc1.h:2
Error return class. This class is used to return the error status from a function....
Definition: BError.h:31
This class stores and manipulates ASCII strings.
Definition: BString.h:20
Access to a Url.
Definition: BUrl.h:16
~BUrl()
Definition: BUrl.cpp:38
BUrl()
Definition: BUrl.cpp:32
BError readString(BString url, BString &str)
Reads URL.
Definition: BUrl.cpp:44