Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BDIO.jl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Ramos
BDIO.jl
Commits
02e9d648
Commit
02e9d648
authored
5 years ago
by
Alberto Ramos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated documentation. Added external to set_user and set_host
parent
3923ce63
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
21 deletions
+30
-21
docs/src/index.md
docs/src/index.md
+15
-16
src/BDIO.jl
src/BDIO.jl
+1
-1
src/BDIOmethods.jl
src/BDIOmethods.jl
+14
-4
No files found.
docs/src/index.md
View file @
02e9d648
...
...
@@ -9,41 +9,40 @@ files in Julia.
```
@index
```
## Externally callable functions
##
#
Setting up global information
## Setting up global information
```
@docs
BDIO
.BDIO
_set_user
BDIO
.BDIO
_set_host
BDIO_set_user
BDIO_set_host
```
### Openning `BDIO` files
```
@docs
BDIO
.BDIO
_open
BDIO_open
```
##
#
Writing data to `BDIO` files
## Writing data to `BDIO` files
```
@docs
BDIO
.BDIO
_start_record!
BDIO
.BDIO
_write!
BDIO
.BDIO
_write_hash!
BDIO_start_record!
BDIO_write!
BDIO_write_hash!
```
##
#
Reading data from `BDIO` files
## Reading data from `BDIO` files
```
@docs
BDIO
.BDIO
_read
BDIO
.BDIO
_seek!
BDIO_read
BDIO_seek!
```
##
#
Obtaining information about `BDIO` records
## Obtaining information about `BDIO` records
```
@docs
BDIO
.BDIO
_get_uinfo
BDIO
.BDIO
_get_len
BDIO
.BDIO
_get_fmt
BDIO_get_uinfo
BDIO_get_len
BDIO_get_fmt
```
This diff is collapsed.
Click to expand it.
src/BDIO.jl
View file @
02e9d648
...
...
@@ -21,6 +21,6 @@ export BDIO_BIN_GENERIC, BDIO_ASC_EXEC, BDIO_BIN_INT32BE,
# Methods
export
BDIOstream
,
BDIO_open
,
BDIO_start_record!
,
BDIO_write_hash!
,
BDIO_write!
,
BDIO_seek!
,
BDIO_get_len
,
BDIO_get_fmt
,
BDIO_get_uinfo
,
BDIO_read
BDIO_get_uinfo
,
BDIO_read
,
BDIO_set_user
,
BDIO_set_host
end
# module
This diff is collapsed.
Click to expand it.
src/BDIOmethods.jl
View file @
02e9d648
"""
Set user name globally for writing BDIO files.
### Example
BDIO_set_user("
alberto
")
### Arguments
- us: The user name
### Examples
```julia-repl
julia> BDIO_set_user("
alberto
")
```
"""
function
BDIO_set_user
(
us
::
String
)
global
user
=
SubString
(
us
*
user
,
1
,
255
)
...
...
@@ -12,8 +17,13 @@ end
"""
Set host machine globally for writing BDIO files.
### Example
BDIO_set_host("
HLRN
")
### Arguments
- us: The user name
### Examples
```julia-repl
julia> BDIO_set_host("
HLRN
")
```
"""
function
BDIO_set_host
(
us
::
String
)
global
host
=
SubString
(
us
*
host
,
1
,
255
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment